Serious bug version JW player 6.x thumbnail flash tooltip

This is a major version error, from version 6.0 of the JW player to the latest version of Flash. Someone has reported this error since the launch of version 6.0, but this error has never been fixed by their support.

It is difficult to explain how the error behavior, please click the play button and mouse over the timeline after playing the video to see the tooltip behavior here .

Any ideas how to fix this?

+4
source share
1 answer

First of all, we have to let jwplayer javascript build the html code.

jwplayer js HTML5- html :

<center>            
    <video controls="controls" id="container" poster="http://www.example.com/yourvideothumbs/videothumb.jpg"  width="693" height="388">
            <source src="http://www.example.com/videos/jourvideo.mp4" type="video/mp4" />
    </video>                        
</center>

JavaScript:

if(navigator.userAgent.toLowerCase().match(/(android)/) || navigator.userAgent.toLowerCase().match(/(chrom)/) ){
    //wee must force flash video player in chrome, because mp4 video files is not supported yet in chrome HTML5 video implementation.
    modes = [{type: 'flash', src:  '[JWPLAYERBASEDIR]/swf/player.swf'}];
}else{
    modes = [ {type: 'html5'},{type: 'flash', src:  '[JWPLAYERBASEDIR]swf/player.swf'}];
}

jwplayer("container").setup({                   
    'modes':modes,      
}); 

. jwplayer , HTML5 .

HTML4:

<div id="container"></div>
<script type="text/javascript">
    jwplayer("container").setup({
       modes = [{type: 'flash', src:  '[JWPLAYERBASEDIR]/swf/player.swf'}], //force flashplayer for video
       image: "yourvideothumbs/videothumb.jpg", //poster image
       file: "videos/jourvideo.mp4",  //video file 
       height: "693", //set height in px
       width: "388" //set width in px
   });

, , , : http://www.longtailvideo.com/support/jw-player/28839/embedding-the-player/

0

All Articles