I've posted in a couple issues here regarding this; really sorry for the flurry of posts, but I'm monumentally frustrated.

I spent all day setting this up, and it is BEAUTIFUL in all browsers and platforms. Great work on the module, but it doesn't work on iPhone. I thought there was FINALLY a YouTube, iPhone, D7 solution, but I guess that will never happen without just hand-coding a block.

Drupal is a CMS after all, and that's not how we're supposed to be doing this. I guess I could have read more deeply to find that OSM uses Flash, or it should have been on the project page in big ugly red letters. Like this: "WARNING: Flash used here, so iPhone users stay away." Why OSM uses Flash, I will never know. Flash is most certainly dying, and I for one can't wait until it does. I'm just saying... a warning on the Project Page would have been nice.

So... Yes or No? Please, a straight answer? Is there ANY way to get YouTube videos to work on an iPhone with this module and OSM?

If not, does such a solution exist, anywhere? All I want is a content type where one of my users can input a YouTube URL, and the **** thing will then play on an iPhone.

Thanks,
Tim

Comments

brycesenz’s picture

For what it's worth, there is a module called jPlayer which I *believe* has an HTML5 option. You could give that a try.

trgreen17’s picture

Thanks, brycesenz, I'll give it a try. But this module has HTML5 support too. In fact, when I go to medifront.org, only 2 of the 5 videos there will play on iPhone: HTML5 and MP4. Vimeo, GPL, and YouTube just sit there with that spinning logo. It's certainly my fault for not checking there first before I spent a day setting up the player, the workflow, and the CSS, but it's just hard for me to believe that we're ten years in and nobody can find a universal video player that doesn't use Flash. It's amazing to me.

On top of that, I can't get my own mp4s to play using MediaFront either. And these are mp4s that were put on to my iPhone from iTunes. They play perfectly using that method, but as soon as I run them through MediaFront they won't play. Something's going on here, and apparently it's a big mystery and nobody seems to have the answers; certainly not me.

So, it's back to the old YouTube embed code, putting them in manually when my clients need me to.

Video makes Drupal a non-CMS.

trgreen17’s picture

I just read this over at mediafront.org, straight from Travis himself, regarding the non-iPhone support:

"This is not an issue with the OSM Player, but with the YouTube API Player. Not sure when they will fix that."

Well why then can I play YouTube videos in Safari on iPhone, and in the YouTube player app in iPhone? And I've been able to for several years.

Somebody is throwing a Flash layer on top of it somewhere... that's the only reason I can think of for the failure on iPhones. I've tried every test I can think of... and the bottom line is I can get to our YouTube videos through iPhone Safari and the YouTube app, but not through Drupal/MediaFront.

I'm moving on to try to find another solution, but please, maintainers of this Project, put a warning on the Project page telling people that this module will NOT work with YouTube and iPhone. That's a pretty big gap for the users out there.

Thanks,
Tim

trgreen17’s picture

Update: I just created a new content type and added a "Multimedia Asset" field. I have The Media and Media-YouTube modules enabled. Then I created a piece of content and entered a YouTube URL and saved it. And it plays perfectly on my iPhone. It opened up in the iPhone YouTube app, just like it's supposed to.

So, problem halfway solved. I just don't have the great skin that MediaFront gives me to display it on the home page, nor do I have a playlist. It's such a shame that the two worlds can't come together.

Much respect to Travis and everyone at MediaFront for the great work they're doing, but there is no doubt in my mind that they are doing something (unintentionally of course) that makes YouTube videos fail on iPhones. Until that gets fixed, I wouldn't expect a lot of traction for this module, or for the OSM technology in general.

Tim

brycesenz’s picture

Tim,

Can you just clarify for me - are you saying that when you use the Media module + Media:Youtube module, you can get it to work, but when you add MediaFront as a front end for that same setup that it fails to load? Have you tried looking into the debug options on the MediaFront player?

trgreen17’s picture

@brycesenz: yes, that's exactly right. I won't even bother re-stating it, you said it perfectly.

The problem with the non-MediaFront solution is that all I get is a node, and I would love to have a nice looking front-end player with a playlist, like the one that MediaFront offers. It's very frustrating.

I haven't tried the debug options - I'm no programmer, and I've only been Drupaling for about a year, so I'm sure the debug code will mean nothing to me.

As I said earlier, the YouTube video at mediafront.org won't even play on iPhone, so what chance do I have of getting it to work? None.

I'm just mad at myself for not checking there first on my iPhone.

It's gonna break my heart to have to remove this beautiful, functional player from my home page (site very much in progress), especially when it's so easy for non-technical users to add a YouTube video! HealthPolicyForum.org Dev Site Home Page

As far as I can tell, all we can have is a node... Ugly Node

Thanks for trying to help though, seriously!
Tim

TimAlsop’s picture

I wanted to make a post here also, since I am trying to understand why MediaFront module won't play YouTube videos when they are added using the media_youtube module. I have seen a number of posts where Travis (the author of MediaFront) says his module has HTML5 fallback, but it doesn't seem to do what I expect. My understanding is that HTML5 fallback means that a video will play using flash unless Flash is not supported and then it will play using HTML5. So, playing a video from YouTube should work on iPad and iPhone devices. i can use the http://youtube.com/embed/ URL in my Safari browser on iPad and this plays in the browser, but if I use http://youtube.com/watch?v= in Safari, the native iPad YouTube player is launched to play the video. I assume this is because the video is streamed in Flash when this kind of URL is used. I am wondering if the /embed/ method needs to be used for the MediaFront module to work, in which case... Is the issue in the MediaFront module or the Media_YouTube module ????

I hope this can be resolved soon since it looks like I am not the only person with this issue.

bcobin’s picture

I am adding my voice to the choir here (and, yes, I know I can just hit "Follow") - this is my first foray into D7 and it's a real shame this has yet to be resolved... yikes!

Thanks for the tip here...

brycesenz’s picture

As a potential temporary solution, I switched to using the JWPlayer module - http://drupal.org/project/jw_player

It doesn't have a proper playlist option yet and lacks some other great MediaFront features, but it does work on an iPhone.

adamdicarlo’s picture

I just removed MediaFront and used media_vimeo to embed vimeo videos (and it works on my iPhone). I used the Rendered file (Default view mode) for the video field display settings, and set up the Video file entity display settings at admin/config/media/file-types/manage/video/file-display. (Vimeo Video is the setting that you'll want enabled for the Default view mode, or whichever view mode you choose. You can make it show a thumbnail in the, say, Thumbnail view mode, if you like, by using Image.) I don't remember whether this requires having file_styles enabled, but it surely requires the styles module. And yes, the way this stuff works is very confusing. I haven't met anybody (besides Dave Reid) who really groks it.

Now to BLOW YOUR MIND: vimeo is an anagram of movie! =D

(OK, maybe you already knew that.)

TimAlsop’s picture

I would prefer not to uninstall MediaFront and I am sure Travis would prefer that people use his module for what it is/was intended. Does anybody know how to contact Travis to get him to comment on this issue ?

adamdicarlo’s picture

@TimAlsop why not use his d.o contact form? http://drupal.org/user/98581/contact

travist’s picture

Status: Active » Postponed

Hey guys,

Sorry for the late response on this, but here is my input to this... The current implementation of YouTube and Vimeo currently uses the JavaScript API's provided by YouTube and Vimeo. I originally developed this before they had the <iframe> solutions to embed their player which will dynamically switch to work on whatever device was showing the media. Because of this, the current implementation uses the old method of embedding their Flash widget and then controlling it via. JavaScript API. There is a way to get around this, but it would require some major development. I am willing to dive into this, but my current work load is not giving me the time and resources to drop everything I am doing and tackle this issue. I will eventually get to it, but it may be a month or two unless I am contracted to expedite this feature.

Thanks

Travis.

TimAlsop’s picture

Travis, thankyou for your input on this.

Personally, I can wait for a few months since I don't need this to be working until late March, early April. I can then upgrade to a new version of the module to benefit.

I was wondering if the issue was in the Media_Youtube module since there are some threads in the issue list for that module which discuss similar issues, and I think (unless I misunderstood) that somebody has made it work in D6, but not ported the fix to D7. Maybe that is another way of solving the same issue, instead of changing MediaFront ??

kingfisher64’s picture

I'm really wanting to use mediafront - but it appears it's problems are destroying it's reputation. It's so sad to see that other users are going away from this - even if temporarily.

@travist - is there no way you can get some help from other developers to fix these problems? I'd offer myself only I'm a designer not programmer. Many drupal users won't be able to wait months for these fixes.

I'd like you to know that all your efforts are appreciated I really want this mod to suceed :)

bcobin’s picture

@travis - #13,

Thank you for the detailed explanation, Travis - it's rare to get such a detailed and timely response. Much appreciated and thank you for all the work you've done so far on all this - it's been a daunting task, to be sure, and you've done amazing work on Drupal video for years now.

In the meantime, the http://drupal.org/project/youtube module seems to be able to do what I need - this may help others to "get through the night" until the various MediaFront isues can be addressed.

Rock on!

travist’s picture

So, just so everyone knows. I am currently investigating the new iFrame API as I write this to see if I can easily get this into a new version soon. I understand the demand is there, but there is some significant development needed to get this to work "chomeless" so that the player can be controlled via javascript vs. having to use the default YouTube skin as you see in the "youtube" module or any other youtube module available.

So, maybe the two month timeframe is a little to far since I am now deep in development for this and am pretty dedicated to at least get a working version soon. Maybe by the end of this next weekend I will at least have the latest DEV version of this module working for YouTube, and then Vimeo will follow suit.

kingfisher64,

I'm really wanting to use mediafront - but it appears it's problems are destroying it's reputation. It's so sad to see that other users are going away from this - even if temporarily.

@travist - is there no way you can get some help from other developers to fix these problems? I'd offer myself only I'm a designer not programmer. Many drupal users won't be able to wait months for these fixes.

I'd like you to know that all your efforts are appreciated I really want this mod to suceed :)

I am doing what I can with the time I have to resolve the problems. I want the module to succeed as well, but am more interested in making sure my family is fed, which is (unfortunate for you) keeping my "volunteered" time to MediaFront as a "when I have time to do it" type of thing. As for "other" developers... there is currently one "dedicated" developer on MediaFront and that is me, so I promise I will do what I can when I can. I am not abandoning this module... it is just that I am not paid to do this so it just takes longer to get things done. I hope you understand that situation.

rwilson0429’s picture

@travist, I've tried several different media related modules. MediaFront is by far the most complete and feature rich solution that I've come across. I can use it to play videos stored locally on my server. I can use it to play YouTube and Vimeo videos. I can use it to play audio. I can create some great looking playlists and it integrates with the Views module. The only problem that I've had is getting the OSM player to play YouTube and Vimeo videos stored in the core file field. But, using the deprecated multimedia asset field, all works well.

So, I just want to thank you for such a great module and the tremendous work you do to enhance and maintain it. This is a very well maintained module and the best multimedia solution that Drupal has so far. Thank you so much.

travist’s picture

Status: Postponed » Needs review

Thanks rwilson0429,

So, just to give an update to this... I have been working diligently on a solution and have been making commits to the HEAD of the D7 branch a solution for this. Currently, though, I am building it out within the minPlayer ( which is a different selection than the OSM Player that you chose when creating a new preset. ) This is actually in the latest DEV version if anyone out there wants to test it out. I basically got the iFrame API working for both YouTube and Vimeo, which should work on iPhone and iPad. Just make sure that you select minPlayer as your media player when creating your preset.

My end goal here is to make the minPlayer act as the "core" for the OSM Player, but I am not quite there yet, but am working hard on it. So.. please test and let me know if this works.

Thanks,

Travis.

trgreen17’s picture

Wow. Thanks, Travis. We all appreciate it. Me especially, cuz there's no way I could build what you have. Well done.

stevebab’s picture

Hi Travis,

The minPlayer player works just fine for single videos on iPhone and iPad. Well done!

Not able to get the results of a view (playlist) to target the Media Player block, though. Any chance I'm just missing a setting? Or is it just not quite at that functionality yet?

At any rate, everyone should be buying you lunch for the incredible work you've done. Next time you're in San Diego, I will buy you a Hodad's burger!

Steve

travist’s picture

Thanks Steve,

I am glad to hear that minPlayer works. My next step is to refactor the OSM player to use this player as a "core" player which would introduce the playlist integration... In other words... it isn't there yet, but is coming. If you want to expedite this feature, then let me know since the priority of this could get bumped up through sponsorship. If you or anyone else you know that would be interested in that, then let me know.

Thanks,

Travis.

TimAlsop’s picture

I can also confirm that I can play YouTube videos on iPhone and iPad using mini player.

I would be interested to sponsor any development work needed to finish this module and make it so that the full media player (not just mini) can be used on iPad, as well as on PC. Can you let me know what is involved for such a sponsorship and what timeframe you could work to ? We want to put our website live in April - could you finish all the work by that date ?

I am also a bit confused about whether v2 or v1 is the best solution - should I be using v2 or v1 ?

travist’s picture

That sounds great Tim.

I will send you an email and we can discuss getting the OSM player upgraded with this functionality to meet your timelines.

As for version v2 or v1, I assume you are referring to the MediaFront versions? The 2.x branch is currently in major development and most of that revolves around refactoring how the media is populated within the player since the way it works today is incredibly inefficient. Ideally, I would love to also have a refactor for the media player along with it and maybe you can expedite that with a sponsorship so for that I am grateful.

Thanks,

Travis.

stevebab’s picture

Hi Travis,

I would also like to talk with you about sponsoring the player functionality. Please let me know what you need in order for me to add to the sponsorship.

Steve

travist’s picture

Hey Steve,

I will send you an email and include Tim in the email so you guys can work out something together. Thanks!

Travis.

stevebab’s picture

Travis,

Thanks. I will look for your message.

Steve
steve@mile3.com

voughndutch’s picture

It is good to see progress is being made with this issue. However I am using drupal 6, so can anyone provide any info or point me in the right direction on how to get this issue solved in Drupal 6? Thanks in advance.

swirt’s picture

HI Travis,
Is there any update to this related to the OSM player being able to handle youtube videos as html5?

travist’s picture

Status: Needs review » Fixed

Yes, it can now handle YouTube videos that are able to play on iPad and iPhone devices (HTML5).

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.