JW Player and/or non youtube/vimeo

psisto / 2012-06-09 21:17:50   

Hello, I am trying to upload my own encoded video since I noticed that the demo has a built in JW Player. Does this work for the release? I uploaded a video to my website and it gives me the following error when trying to view it:
Fatal error: Call to a member function add_lib_js() on a non-object in /ndxzsite/plugin/plugin.formats.php on line 144

and that line of code is:
$OBJ->page->add_lib_js('jwplayer.js', 21);

Do we need JW as a plugin? if so how can I make it work... and if I can't is there any other built in option to play videos outside of the youtube/vimeo embed plugin?

Thanks for 2.0 :)

Vaska A / 2012-06-09 21:22:43   

Are you adding this directly? Did you do something custom? That is core code - it should work just fine...it has been for us.

JW ships with Indexhibit (we paid a small fortune for that). You can upload .mov and .mp4 files as long as they are not huge (most hosts don't allow large uploads via script).

We will be releasing, probably in a couple weeks, a feature that will allow you to pull large video files on your server into your exhibit.

psisto / 2012-06-09 21:40:17   

Yes, I added it using the 'upload files' button in the upload/import section.
It all uploads fine and I see the grey thumbnail, but when I click it shows the error:
Fatal error: Call to a member function add_lib_js() on a non-object in /ndxzsite/plugin/plugin.formats.php on line 144
My test video is an mp4 and only 1.2Mb. Nothing custom...

Vaska A / 2012-06-09 22:25:25   

Very odd. I'm adding it to my bug list...

psisto / 2012-06-09 23:13:50   

Keep me posted and let me know if you need additional info to debug that one. It's one of the reasons why I need to update :)

Vaska A / 2012-06-09 23:23:58   

What kind of video (format) did you upload?

psisto / 2012-06-10 04:11:27   

MP4 encoded at H.264, 640 × 360, Millions
File size 1.2MB

Vaska A / 2012-06-10 11:20:18   

I would like to look at this - can you send me FTP and Indexhibit login information?

contact [at] indexhibit [dot] org

psisto / 2012-06-11 10:30:44   

sent!

Vaska A / 2012-06-11 20:58:57   

It was a simple correction - it will be in the next update.

This thread has been closed, thank you.