Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
By mfuller526 on
D7.43, JW Player 7.x-2.0-beta2
I get "loading video" using a mp4 video reference file. No status report errors. I've checked for patches, none available. Ideas? Step by step answers appreciated. Thanks.
Firebug console:
ReferenceError: jwplayer is not defined
jwplayer('jwplayer162mikey960').setup({"file":"http://devel.deanclarkministries.com...
sample-mp4 (line 251, col 5)
HTML
<div class="content">
<div class="field field-name-field-multimediafile field-type-file field-label-hidden"><div class="field-items"><div class="field-item even"><div id="jwplayer162mikey960" class="jwplayer-video">
Loading Video...
</div>
<script type="text/javascript">
jwplayer('jwplayer162mikey960').setup({"file":"http://devel.deanclarkministries.com/sites/default/files/SampleVideo_1280x720_1mb.mp4","width":"960","height":"540","stretching":"uniform"});
</script>
</div></div></div> </div>
Comments
Did you read the Installation manual?
-- INSTALLATION --
* Install this module as described at http://drupal.org/node/895232.
* For a Cloud-Hosted Player, visit admin/config/media/jw_player/settings and
configure your Cloud-Hosted Account Token.
* For a Self-Hosted Player:
* Download the self-hosted version of JW Player from http://www.jwplayer.com/
* Extract the zip file and put the contents of the extracted folder in
libraries/jwplayer.
E.g.: sites/all/libraries/jwplayer or sites//libraries/jwplayer
* Visit admin/config/media/jw_player/settings and configure your Self-Hosted
Player License Key.
* Go to Administration > Reports > Status reports (admin/reports/status) to
check your configuration.
----------------
That you normally can find in the module's README file. It sounds like you haven't installed the actual jw player yet.
I like cookies!
Library IS installed correctly
Library IS installed correctly. Status report says: OK JW Player Self-Hosted (v7). I've also tried a dev version, which does work on desktop, but gives "loading video" on my iPhone.
Yeah well. I'd probably start
Yeah well. I'd probably start debugging now. Basically it means that the JS library wasn't loaded properly for whatever reason.
I like cookies!
Library reinstalled and updated
Library reinstalled and updated to version 7.4.3, however I still get the reference error. I don't want to use the dev version since it's not recommended. Plus, using a dev version works on my laptop but says loading video on my iPhone. Ideas? I'm not a coder and have wasted hours on this, so I just need specific instructions. I graduated from a Professional cooking school and can make you killer cookies if you get me through this. Hint, hint. :>)
Cookies????? :-D
Cookies????? :-D
Do you have a working link to your development website?
I like cookies!