ShuDudu's Home was started in 2011, but the web data is lost, so now begin again, I would like to make some friends, I hope you like ShuDudu's home.
Current position: ShuDudu > Other >

Happy chasing run

Friday on May 29th, 2020Other

2013.5.10 "happy chasing run" Yu Qian Guo Degang windy north China special exhibition

The original video players using bitsontherun outside the chain (video address), upload videos directly iframe calls, although convenient, but it feels a bit slow, this time directly to jwplayer on the local, but jwplayer of js have 41kb, although compression too, can still getting bigger, the speed is still a little impact, I tried js files on a little bit, but to call the swf file, js change too much trouble, simply put the local bar, IE7 also solve the problem of the poor toss. Longtail recently discovered site Videomega and two free video sharing.

Instructions

1. Download the JW Player, uploaded to the site, then loaded jwplayer.js in the head tag of the page.

script src=jwplayer.js/script

You can also use the site JW Player cloud player, speed is also good:

script src=http: //jwpsrv.com/library/eGahEtdcEeKUkiIACqoQEQ.js/script

2. Then at the time of publication of the article, you can directly copy the code below.

div id = myElementLoading the player .../div script type = text/javascript jwplayer (myElement) .setup ({file: /uploads/myVideo.mp4, // video address image: /uploads/myPoster.jpg, // video preview address, can not write width: '480', // width height: '360' // height});/script

Copyright Protection: ShuDudu from the original article, reproduced Please keep the link: https://www.shududu.com/other/Happy-chasing-run.htm