Blackboard

Embedded video does not work with Test Manager ...

rated by 0 users
Not Answered This post has 0 verified answers | 4 Replies | 2 Followers

Not Ranked
1 Posts
Elwyn Canning posted on 9 Nov 2011 12:30 PM

I have always been able to use embedded video in the Test Manager, in creating a test using a video as part of a question and MC for answers.

Now, whiile ago I tried to add embed codes in the html version of the editor and when I switch back to normal view, I get a blank screen.

Then when I went back into the html view, I find the codes stripped clean. I tried again and it contines to strip.

Hey, what's happening here? Anyone know?

Thanks!

--
Kent Babson
eLearning Specialist
Gallaudet Technology Services
Gallaudet University
VP: (202) 250-2628

All Replies

Top 10 Contributor
Male
6,263 Posts

Kent,

it's hard to say for sure without being able to look at the server settings, but my first guess would be that your school's Blackboard administrator has the cross-site scripting (XSS) security control configured for maximum security, and has turned off the "Add trusted content" and "Add trusted content with scripts" privileges for instructors (or whatever role you may have in the course).

The other possibility is that the embed code that you're trying to use for the videos is invalid, or at least not compatible with Bb 9.1.   There's a code validation routine that runs when content from the text editor is saved, so that might be stripping out the embed codes.   What does your embed code look like?  I can at least try it on my server, to see if the code validation is the problem.

Mike

Top 10 Contributor
Male
6,263 Posts

Kent,

Another thing you might want to check (if you haven't already) is to see if the same embde codes work in normal content items.  I don't think the code validation routines and restrictions are different within a test than with normal content items, but I can't guarantee it.

Mike

Not Ranked
Male
1 Posts

Hello Mike,

I apologize for not responding sooner. I had trouble trying to log back in with our department account and couldn't get in. Lot of errors with the login process.

So I created a new account so I can get in and respond to your posting.

I have copied the embed video text here for your review. Let me know if anything will cause Bb to strip it out.

Kent

 

<object id="MediaPlayer"
width="320"
height="320"
classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
standby="Loading Windows Media Player components..."
type="application/x-oleobject">
<param name="FileName" value="http://mymedia.gallaudet.edu/projects/kentbabson/HispEd96_512k.asx">
<param name="ShowControls" value="true">
<param name="ShowStatusBar" value="true">
<param name="ShowDisplay" value="false">
<param name="autostart" value="true">

<!-- captions ~ works only in MSIE -->
<param name="captioningID" value="captions">

<embed type="application/x-mplayer2"
src="http://mymedia.gallaudet.edu/projects/kentbabson/HispEd96_512k.asx"
name="MediaPlayer"
width="320"
height="320"
showcontrols="1"
showstatusbar="1"
showdisplay="0"
autostart="1">
</embed>
</object>

<!-- Captions Layer - Produces a space to show captions. Works only in MSIE -->
<div id="captions" style="background-color:black; color:white; width:320px; height:40px"></div>

Top 10 Contributor
Male
6,263 Posts

Kent,

When I try pasting that code into the editor, it looks like the code validation routine strips out some of the code when it's saved. So, there's something in your embed code that Blackboard does not accept as valid.

However, if I try creating a regular content item and use the built in "Add MPEG/AVI content" from the toolbar to add your video, it produces a different embed code:

<div class="previewDiv"><object id="MediaPlayera06e33e2186d4e42bfe86693524d6fd9" classid="clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject"><param NAME="URL" VALUE="http://mymedia.gallaudet.edu/projects/kentbabson/HispEd96_512k.asx"><param NAME="rate" VALUE="1"><param NAME="balance" VALUE="0"><param NAME="currentPosition" VALUE="0"><param NAME="defaultFrame" VALUE=""><param NAME="playCount" VALUE="1"><param NAME="autoStart" VALUE="0"><param NAME="currentMarker" VALUE="0"><param NAME="invokeURLs" VALUE="-1"><param NAME="baseURL" VALUE=""><param NAME="volume" VALUE="50"><param NAME="mute" VALUE="0"><param NAME="uiMode" VALUE="full"><param NAME="stretchToFit" VALUE="0"><param NAME="windowlessVideo" VALUE="0"><param NAME="enabled" VALUE="-1"><param NAME="enableContextMenu" VALUE="-1"><param NAME="fullScreen" VALUE="0"><param NAME="SAMIStyle" VALUE=""><param NAME="SAMILang" VALUE=""><param NAME="SAMIFilename" VALUE=""><param NAME="captioningID" VALUE=""><param NAME="enableErrorDialogs" VALUE="0"><param NAME="_cx" VALUE="6482"><param NAME="_cy" VALUE="6350">
                         <embed scale="tofit" alt="" autoplay="false" height="240" loop= "false" src= "http://mymedia.gallaudet.edu/projects/kentbabson/HispEd96_512k.asx"  type="video/mpeg" controller="true" width="320"></object></div> 

That code does seem to work fine when pasted into a test question (with the editor in HTML mode, of course).  So, I'd start with Blackboard's code instead of the old one you were using, and modify settings as needed.

Mike

Page 1 of 1 (5 items) | RSS