Issues with QUMU videos in Firefox in WebHelp output

Questions about XML that are not covered by the other forums should go here.
czieg
Posts: 5
Joined: Wed Sep 10, 2014 4:03 pm

Issues with QUMU videos in Firefox in WebHelp output

Post 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!
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Issues with QUMU videos in Firefox in WebHelp output

Post 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
Regards,
Sorin

<oXygen/> XML Editor Support
czieg
Posts: 5
Joined: Wed Sep 10, 2014 4:03 pm

Re: Issues with QUMU videos in Firefox in WebHelp output

Post 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.
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Issues with QUMU videos in Firefox in WebHelp output

Post 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>
Regards,
Sorin

<oXygen/> XML Editor Support
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Issues with QUMU videos in Firefox in WebHelp output

Post 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.
Regards,
Sorin

<oXygen/> XML Editor Support
czieg
Posts: 5
Joined: Wed Sep 10, 2014 4:03 pm

Re: Issues with QUMU videos in Firefox in WebHelp output

Post 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
czieg
Posts: 5
Joined: Wed Sep 10, 2014 4:03 pm

Re: Issues with QUMU videos in Firefox in WebHelp output

Post 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
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Issues with QUMU videos in Firefox in WebHelp output

Post 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.
Regards,
Sorin

<oXygen/> XML Editor Support
czieg
Posts: 5
Joined: Wed Sep 10, 2014 4:03 pm

Re: Issues with QUMU videos in Firefox in WebHelp output

Post by czieg »

It looks like they are located on the internal QUMU portal server.
Post Reply