Closed (fixed)
Project:
Video.js (HTML5 Video Player)
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 May 2013 at 10:10 UTC
Updated:
5 Jun 2013 at 11:00 UTC
EDIT: Sorry about the wrong title, please edit, I was first about to post on another problem that vanished after cache clearing
Hello, in Chrome inspector I get this error, happens with the 7.3 alpha too
Uncaught ReferenceError: _V_ is not defined
Seems like it has to do with these 2:
<script>_V_.options.flash.swf = "http://www.bad-good.org/sites/all/libraries/video-js/video-js.swf"</script>
<script>_V_.options.flash.swf = "http://www.bad-good.org/sites/all/libraries/video-js/video-js.swf"</script>The video on the rendered page is played in HTML5, happens with JS aggregation on and off
Cheers
Comments
Comment #1
Jorrit commentedI have changed it to video.options.flash.swf in the latest -dev release, I think. In any case, I will change that soon.
Comment #2
Jorrit commentedPlease try the next -dev release.
Comment #3
Lux Delux commentedThanks, that error is gone now, however I do get
Uncaught ReferenceError: videojs is not definedIf I add weight to $jsopts and $swfopts
$jsopts = array('group' => JS_LIBRARY, 'preprocess' => !$remote, 'type' => $remote ? 'external' : 'file', 'weight' => 1); $swfopts = array('group' => JS_LIBRARY, 'type' => 'inline', 'weight' => 5);It goes away, as videojs.js is now loaded before the swf. I don't know if weights are the best way to go but just so you know :)
Cheers
Comment #4
Jorrit commentedI think your method is the right way to go, I will add it asap. Thanks!
Comment #5
Jorrit commentedI have fixed the issue in code. 7.x-3.x-dev should be updated soon.
Comment #6.0
(not verified) commentedEdited to make not on the wrong title