Page 1 of 1

Issues with QUMU videos in Firefox in WebHelp output

Posted: Wed Sep 10, 2014 4:19 pm
by czieg
Hello!

We are trying to embed QUMU videos from our internal site into WebHelp output. So far; this works in IE, Chrome, and FF (without frames, ie file.html). When frames are introduced, IE and Chrome work as expected, but FF doesn't display the embedded video unless you Right Click > This Frame > Reload Frame.

Here is the XML:

Code: Select all


<object id="video1" type="text/javascript"
data="link to video"
codebase="path.../qumu-embed-fs.js"
width="720" height="521">
<desc></desc>
<param name="movie"
value="link to video"/>
<param name="frameborder" value="0"/>
<param name="allowfullscreen" value="true"/>
<param name="webkitallowfullscreen" value="true"/>
<param name="mozallowfullscreen" value="true"/>
<param name="quality" value="high"/>
<param name="bgcolor" value="#FFFFFF"/>
</object>
This was derived from the embed this video option on the QUMU video page, shown here:

Code: Select all


<script type='text/javascript' src='path.../qumu-embed-fs.js'></script>
<iframe seamless frameborder=0 allowfullscreen webkitallowfullscreen mozallowfullscreen
src='link to video' width='720' height='567'>
</iframe>
Can someone please guide me in the right direction?

Thanks!

Re: Issues with QUMU videos in Firefox in WebHelp output

Posted: Thu Sep 11, 2014 12:12 pm
by sorin_ristache
czieg wrote:So far; this works in IE, Chrome, and FF (without frames, ie file.html). When frames are introduced, IE and Chrome work as expected, but FF doesn't display the embedded video unless you Right Click > This Frame > Reload Frame.
It is strange that it requires a frame refresh to load and play the video correctly in the Firefox page. It seems like a bug in Firefox but I could not find a bug already filed with the Mozilla browser engine.

What format does the video have?


Regards,
Sorin

Re: Issues with QUMU videos in Firefox in WebHelp output

Posted: Thu Sep 11, 2014 3:24 pm
by czieg
QUMU uses the MP4 video format along with Microsoft's Silverlight (application/x-silverlight-2). Using the non-javascript frames in WebHelp output (index_frames.html) at least brings up the video object, but it spins unless you reload the frame.

A colleague mentioned there may be a java conflict with QUMU's proprietary code.

Re: Issues with QUMU videos in Firefox in WebHelp output

Posted: Thu Sep 11, 2014 4:46 pm
by sorin_ristache
I think the value of the type attribute is wrong in the code example that you posted above:

Code: Select all

<object id="video1" type="text/javascript"
data="link to video"
codebase="path.../qumu-embed-fs.js"
width="720" height="521">
. . .
Please remove this attribute from the <object> tag because the type atttribute does not make sense in a video <object> tag.

Alternatively you can try the <video> element like this:

Code: Select all

 <video width="720" height="521" controls>
<source src="movie.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>

Re: Issues with QUMU videos in Firefox in WebHelp output

Posted: Thu Sep 11, 2014 4:50 pm
by sorin_ristache
Sorry, I think I don't understand how QUMU is supposed to load and play the video. Maybe it inserts the JavaScript code from the qumu-embed-fs.js file in the page and this JavaScript code loads and plays the MP4 movie?

Anyway if the browser can run the JavaScript code from qumu-embed-fs.js without errors then I think the movie should be played in Firefox too as in teh other browsers where you tried and you found that it worked correctly. Please look in the JavaSCript console of Firefox and see if any errors are logged there when the code from the qumu-embed-fs.js is executed.

Re: Issues with QUMU videos in Firefox in WebHelp output

Posted: Thu Sep 11, 2014 5:00 pm
by czieg
Prior to frame reload:

Code: Select all

The Web Console logging API (console.log, console.info, console.warn, console.error) has been disabled by a script on this page.
TypeError: f is null vp_common.js:138
Use of getPreventDefault() is deprecated. Use defaultPrevented instead. jquery-1.8.2.min.js:9
Use of getAttributeNode() is deprecated. Use getAttribute() instead. vp_common.js:404
After reload:

Code: Select all

"old viewState = undefined, new viewState = 1"                        vp_program.js:696
"SL: Qumu Silverlight Player Started" vp_program.js:109
"old viewState = 1, new viewState = 5" vp_program.js:696

Re: Issues with QUMU videos in Firefox in WebHelp output

Posted: Thu Sep 11, 2014 5:04 pm
by czieg
Also, the path to the video doesn't point to an MP4, per se.

http://....path..../embed.vp?programId=esc_program%3A6634&contentAssocId=association%3A15646&supp=true&titlebar=true

Re: Issues with QUMU videos in Firefox in WebHelp output

Posted: Thu Sep 11, 2014 5:24 pm
by sorin_ristache
Do you know if these vp_common.js and vp_program.js files come with the QUMU video? Are they needed for playing a QUMU video? If yes maybe you should ask the QUMU support team about these JavaScript errors that are reported only in Firefox.

Re: Issues with QUMU videos in Firefox in WebHelp output

Posted: Thu Sep 11, 2014 5:30 pm
by czieg
It looks like they are located on the internal QUMU portal server.