Autor | Zpráva | ||
---|---|---|---|
barneby Profil |
#1 · Zasláno: 14. 1. 2014, 20:06:46
Dobrý den,
na mým webu používám html5 přehrávač VideoJS 4.3.0 a chtěl jsem tam přidat pár pluginů třeba jako videojs-progressTips ale když jsem to tam přidal pomocí následujícího kodu: <script src="http://code.jquery.com/jquery-2.0.3.min.js"></script> <script src="videojs.progressTips.js"></script> <link rel="stylesheet" href="videojs.progressTips.css" type="text/css"> <script src="videojs.relatedCarousel.js"></script> <link rel="stylesheet" href="videojs.relatedCarousel.css" type="text/css"> <!-- Chang URLs to wherever Video.js files will be hosted --> <link href="video-js.css" rel="stylesheet" type="text/css"> <!-- video.js must be in the <head> for older IEs to work. --> <script src="video.dev.js"></script> <!-- Unless using the CDN hosted version, update the URL to the Flash SWF --> <script> videojs.options.flash.swf = "video-js.swf"; </script> <video id="example_video_1" class="video-js vjs-default-skin" controls preload="none" width="640" height="264" poster="http://video-js.zencoder.com/oceans-clip.png" data-setup="{}"> <source src="http://video-js.zencoder.com/oceans-clip.mp4" type='video/mp4' /> <source src="http://video-js.zencoder.com/oceans-clip.webm" type='video/webm' /> <source src="http://video-js.zencoder.com/oceans-clip.ogv" type='video/ogg' /> </video> <script> videojs('example_video_1', {}, function() { this.progressTips(); // "load the plugin, no options!" }); </script> |
||
_es Profil |
#2 · Zasláno: 14. 1. 2014, 20:12:37
barneby:
A prečo si to nevložil podľa návodu? |
||
barneby Profil |
#3 · Zasláno: 14. 1. 2014, 20:13:32
Ale tohle je podle návodu!
|
||
_es Profil |
#4 · Zasláno: 14. 1. 2014, 20:16:12
barneby:
Nie je, pozri si ten kód na github.com/mickey/videojs-progressTips poriadne. |
||
barneby Profil |
Však je to správně kde je chyba? Já žádnou nevidím. Jediný co tak že tam maj jinou verzi "VideoJS"
|
||
_es Profil |
#6 · Zasláno: 14. 1. 2014, 20:24:59
barneby:
Aké tam je poradie script ov? Máš ho také aj ty?
|
||
barneby Profil |
#7 · Zasláno: 14. 1. 2014, 20:33:18
Výborně už to funguje, chyba bylo u autora pluginů měl tam odkaz na jquery které neexistuje.
Děkuji ti za tvůj čas :). |
||
Časová prodleva: 10 let
|
0