CommentFileSizeAuthor
#4 arquivos.txt39.66 KBbrunorios

Comments

mattman’s picture

Rob, is it possible there is still a cachebusting issue with IE8.

I'm getting reports from both IE7 and IE8 users that videos won't play on my site anymore.

http://gotdrupal.com

I see that the flowplayer.swf file is having the random math applied when hitting the site via IE8 and watching the apache logs. I'm not getting 304s and am returning 200s.

However, the player is not loading properly.

My implementation is via template.php using a variable. Here's the code

$vars['video_link'] = '<div class="video-play">Play Video</div>' . l('Movie link (right-click to download)', $video_path_full, array('attributes' => array('class' => 'mov')));

flowplayer_add('#video-player', array(
  'clip' => array(
    'autoPlay' => FALSE, // Turn autoplay off
    'url' => $video_path_full,
  ),
));
  
$vars['video_player'] = "<div id=\"video-player\" style=\"width:". $video_width ."px; height: ". ($video_height + 24) ."px\"></div>";
  
$media_js = "if (Drupal.jsEnabled) {\n$(document).ready(function() {\n";
$media_js .= '$(".video-play").click(function(){$("#video-player").css("display","block")});';
$media_js .= "\n});\n}";

// Add the js to the output
drupal_add_js($media_js, 'inline', 'header');

Any ideas? It would be great to get the IE folks to be able to view the videos again.

My typical setup is using Boost and enabling merged css and js. But I've got that disabled if you wanted to take a look at the site.

Matt

robloach’s picture

One of the changelog items for the 3.1.4 update is:

works properly without cachebusting on IE

I just made the commit for 3.1.4 here: http://drupal.org/cvs?commit=271910 .

Mind updating to the latest in DRUPAL-6--1 and seeing if that fixes IE? Thanks a lot!.... Awesome site, BTW ;-) .

Just in the process of updating DRUPAL-5.

mattman’s picture

I think I had found the issue right when you had made your post. I was using the 6-1 branch...

but the problem was likely my bone head move. I had gone into /flowplayer/flowplayer/example and the only thing I had cvs up -dP was flowplayer.min.js.

While troubleshooting this past half hour, I downloaded 3.1.4 from flowplayer.org and replaced the .swf files. That fixed it.

I then updated the whole 6-1 branch from within /flowplayer and sure enough, your updates came down. So I was running with a bad .swf to .js match.

It looks like the branch is good. At least on my end. I've only got IE8 running in vmware on OS X (snow) so if you have an IE7 to test a video or two that would be cool.

I'm sure I'll hear from people if it isn't fixed. I'll also turn on Boost and css/js aggregation.

Thanks for the compliments on the site. It's ugly as hell and needs an interface overhaul (tough to do when you're doing free content) but it gets the videos out there. Thanks for doing the module. You're a GREAT developer! Always feel free to contact me at any time if you need videos!

Actually, I should do a video about how I'm using Flowplayer module now that I think of it.

brunorios’s picture

StatusFileSize
new39.66 KB

Hello,

I have a problem, and tried to resolve all forms but could not.

I installed the module and the module flowplayer videos, to read the files .flv

But I can not change the settings, my player does not open, it reads the whole file .flv, and only then is that it opens.

If I give a refresh (F5) the page then it opens the same time.

I tried to include the parameters of the clip and playlist, but I can not change the display of the player, I think I'm making changes in the wrong place.

Already changed the pages:
- flowplayer.admin.js;
- flowplayer.module;
- flowplayer.min.js;
- flowplayer.js;
- flowplayerjq.inc;
- flowplayer.admin.inc;

In almost all these pages I put the code:
window.onload = function() {
$f("video-player", "http://dayacursos.com.br/sites/all/modules/flowplayer/flowplayer/flowpla...", {

// don't start automcatically
clip: {
autoPlay: false,
autoBuffering: true
},
});
};

Attached I am sending the pages with the changes.

Please help me.

jbrown’s picture

Status: Active » Closed (fixed)