I had this issue before, but it was due to the http headers module.

Once again, my videos cannot play in Google Chrome, while in Firefox everything is okay.
There are no php errors or any special errors in dblog.

It is html5 osm player, and it is shown, loading.

In Chrome console (Network) i can see it is "pending", then "cancelled" and constantly trying, but with no success.
Type is video/xflv, and in section size it says - (from cache)

I have no other clues yet, i tried on several computers, but Chrome fails to load everywhere.

Comments

travist’s picture

Is this Chrome on Windows?

NenadP’s picture

I tested it with Chrome on Windows and on Linux. (could test later on Mac if this helps).

I also noticed, that some (very few, 1 in 20) videos works. I cannot get clue as there is no substantial difference between that video and others, nor there is the difference in page structure around that video, and others.

Could it be possibly conflict with some other js libraries that runs on page, as it it is hmtl 5 player ?

Can I force flash fallback (if there is any) as temp solution ?

NenadP’s picture

Travist, if you are willing, i can show you a page where video fails to load in Chrome (at the same time working in Firefox).

travist’s picture

Yes, this would be helpful since I am not able to reproduce it on my end.

Thanks,

Travis.

NenadP’s picture

NenadP’s picture

In addition, regarding my comment #2, those very few videos works because they are falling back to flash (right click discovers flash is used).

I wonder why other videos does not fall back to flash. As a quick fix, is there a way to force mediafront to fall back to flash ?

Also, for creating video I am using this wizardry ("approved" here: http://drupal.org/node/1822054), but I doubt that it could be the source of my problem:

$imagelink =$base_url . '/files/' . $path . '/' .  $target_file; 
$node->field_mediafront_media['und'][0]['value'] = $imagelink;
print render($content['field_mediafront_media']);
NenadP’s picture

Bump, is there any clue for this issue ? I could not make it work and there is no visible error. Thanks!

NenadP’s picture

My problem seems simillar with http://drupal.org/node/1540002 comment #8

I switched on Mediafront debugger, but there is no any output in debugger! It just hangs!

For those 1 in 10 videos that works, debugger show this info:
(There is no substantial difference that I can spot between those rare working videos and those that hangs)

Loading Plugin: mediaPlayer minplayer.players.minplayer.js:75
Loading Skin: http://mydomain.com/sites/all/modules/contrib/mediafront/players/osmplay... minplayer.players.minplayer.js:75
Loading Plugin: playLoader minplayer.players.minplayer.js:75
Loading Plugin: controlBar minplayer.players.minplayer.js:75
Plugin Loaded: instance1 minplayer.players.minplayer.js:75
Loading Skin: http://mydomain.com/sites/all/modules/contrib/mediafront/players/osmplay... minplayer.players.minplayer.js:75
Loading Skin: http://mydomain.com/sites/all/modules/contrib/mediafront/players/osmplay... minplayer.players.minplayer.js:75
Plugin Loaded: instance5 minplayer.players.minplayer.js:75
Plugin Loaded: instance6 minplayer.players.minplayer.js:75
All Plugins Loaded! minplayer.players.minplayer.js:75
Video: status = NetConnection.Connect.Success minplayer.players.minplayer.js:75
Calling Flash Update: mediaConnected minplayer.players.minplayer.js:75
2
video.loadFile( http://mydomain.file.flv ) minplayer.players.minplayer.js:75
stream.resume() minplayer.players.minplayer.js:75
Calling Flash Update: mediaPlaying minplayer.players.minplayer.js:75
Video: status = NetStream.Play.Start minplayer.players.minplayer.js:75
onMetaData: totalTime=278.438, width=640, height=480 minplayer.players.minplayer.js:75
Calling Flash Update: mediaMeta minplayer.players.minplayer.js:75
stream.resume() minplayer.players.minplayer.js:75
Calling Flash Update: mediaPlaying minplayer.players.minplayer.js:75
Video: status = NetStream.Buffer.Full minplayer.players.minplayer.js:75
Calling Flash Update: mediaPlaying

NenadP’s picture

Again, it seems every other browser plays video nicely, Firefox, IE, even Epiphany(Gnome), so it is Google Chrome related.

verta’s picture

Title: Video does not play ic Google Chome » Video does not play in Google Chome

(title typo, following)

Having the same problem, it worked and then it stopped, not sure how to debug this.

NenadP’s picture

@Verta, that is exactly my experience. It just stopped working in some momment in time, possibly with Google Chrome self-update. Frustrating is, there is no visible error.

I hope TravisT can help us solve/override this issue!

travist’s picture

Sorry for the delay. It has been a crazy past couple of weeks and this weekend isn't any better. I probably won't have bandwidth until later next week.

Apologize for the delay.

NenadP’s picture

Thanks for your effort, Travist. My fear is that thing became inoperative with Google Chrome update. If so, no one can guarantee that it would not happen again :( . Possibly situation is not so bad, but probably you will know better when you will have time to inspect the problem.

NenadP’s picture

Bump for this, has anyone chance to see into this problem ?

enjoylife’s picture

You video plays in IE10. The screen flashes and the video appears to play with Adobe Flash Player. The controls for MediaFront disappear and the video takes up more space on the page than the MediaFront player.

But your video does not play in FF 21.0 and Chrome 27.0. In Chrome, I'm not sure how to debug your issue.

In FF 21.0 I get this error:
HTTP "Content-Type" of "video/x-flv" is not supported. Load of media resource http://www.profil-international.hr/datoteke/skolski-odjel/osnovna-skola/... failed. @ http://www.profil-international.hr/skolski-odjel/osnovna-skola/video-mje...

I am wondering if perhaps minPlayer is incompatible with flv. Could you try the same video using only OSM Player and not minPlayer? Additionally, with your current configuration (using minPlayer), could you try a different video? Specifically, it would help to try a video not in flv format. If you want to test one of your own videos, you might want to convert from flv into mp4 or ogg. I recommend WinFF for conversion if you are using a Windows system. Or you can try a video from the Troubleshooting section of http://drupal.org/node/1565532.

I'm going to test minPlayer with flv files and see if this is a minPlayer issue. But I recommend that you try a different file format to see if it's only flv files that are not working with your current site configuration.

enjoylife’s picture

I've tested minPlayer by switching a content type to use a minPlayer preset. Locally hosted flv and mp4 videos that worked before with the OSM Player preset do not work with a minPlayer preset. My ogg file plays fine.

I recommend creating a preset that uses OSM Player and not minPlayer. Let me know if that resolves your issue.

For anyone else having issues playing flv files, make sure you are using an OSM Player preset.

NenadP’s picture

Thanks EnjoyLife for your effort, but I use OSM player in first place. For any case, I tried switching to MiniPlayer, but nothing better.
It's kind of frustrating because configuration worked, then suddenly stopped to work. Videobase is all flv, so it adds to the trouble.

travist’s picture

FLV would fall back to the Flash player. When you open up your Developer Tools are there any browser errors in the console?

NenadP’s picture

No errors. But I noticed In Network view, there are several threads asking for the flv (Method:GET, Status:Cancelled, Type: video/x-flv.) In fact, some got cancelled, and other are pending. Reported sizes are 13B / 0B, one says [from cache].
For some reason it seems it does not fall back to flash.

jaimeah’s picture

I'm experimenting the very same problem. Any clues as to how to solve it? As an additional comment, it won't work on google chrome in my galaxy phone either.

barry6575’s picture

Chrome 28 on Windows 7 is now working for me.

NenadP’s picture

Still no juice here. (Vdieo from #5) on windows7 Chrome 28.

fchandler’s picture

I have the same issue with Chromium on Linux Ubuntu machine, with live site and local dev. Also, the page from #5 does not load so it is not just my sites.

travist’s picture

You need to make sure that your server delivering the media has the proper mime types setup to deliver the media. Can you verify that your Apache configs are setup properly to serve the media? If you need help, there is a section in the MediaFront documentation going over this.

Let me know.

jdetwile’s picture

*** FIXED ***

I'm new to this thread, but have run into the same problem. (Installing MediaFront for the first time on test platform; couldn't understand why nothing played -- then discovered it *was* working on other browsers, just not on my Chrome.) I've loaded .mp4 and .avi files with MediaFront 2.2, Drupal 7.26, on localhost (Ubuntu 12.04). 'Client' (on same Ubuntu box) says Chrome "32.0.1700.102 m".

I'll be happy to collect more data, but will need to be told where/how to look. A propos travist's question about Apache configs: What do you need to know?

Thanks for the module - it's a powerhouse -- now if we can just flatten the Chrome issue!
John

martin.l’s picture

Issue summary: View changes

Subscribing. It does not display youtube videos on Chrome on my mobile Android phone (S4 mini) properly.