Forums | Mahara Community

Developers /
Adding an External Video Site Question

Chris Kenniburg's profile picture
Posts: 33

04 November 2010, 7:56 AM

Hello Maharians!

I work for a k-12 school district and because youtube etc are blocked we have our own video sharing website based on Joomla and a plugin called JVideoDirect.

The URL for the videos is in this format:

I am trying to add this to the External Video Widget as:

array(                'match' => '#.**docid=(\-?[0-9]+).*#','
url'   => '$1',            ),

I just copied and pasted one of the existing sites for Google Video.

The embed code JVideoDirect generates is this:
<embed id="jvideodirect" name="jvideodirect" src="" width="580" height="444" type="application/x-shockwave-flash" pluginspage="" bgcolor="#000000"name="theMediaPlayer" allowfullscreen="true" allowscriptaccess=always menu="false" wmode="transparent" flashvars="file="></embed>

Does this look correct??  I am trying it out now, but thought I should ask the experts!



Andy Parker's profile picture
Posts: 10

16 November 2010, 4:07 AM

Hi Chris,

We have the same issue, noted in the forums at

We're trying to work out why some sites don't embed (eg JVideoDirect), whereas others (eg Prezi) do embed (sample Prezi embed code below)

<object id="prezi_8cd20d77bee92697e67ea8b1bd55f03f330c05ca" name="prezi_8cd20d77bee92697e67ea8b1bd55f03f330c05ca" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="550" height="400"><param name="movie" value=""/><param name="allowfullscreen" value="true"/><param name="allowscriptaccess" value="always"/><param name="bgcolor" value="#ffffff"/><param name="flashvars" value="prezi_id=8cd20d77bee92697e67ea8b1bd55f03f330c05ca&amp;lock_to_path=0&amp;color=ffffff&amp;autoplay=no&amp;autohide_ctrls=0"/><embed id="preziEmbed_8cd20d77bee92697e67ea8b1bd55f03f330c05ca" name="preziEmbed_8cd20d77bee92697e67ea8b1bd55f03f330c05ca" src="" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="550" height="400" bgcolor="#ffffff" flashvars="prezi_id=8cd20d77bee92697e67ea8b1bd55f03f330c05ca&amp;lock_to_path=0&amp;color=ffffff&amp;autoplay=no&amp;autohide_ctrls=0"></embed></object>


Is anyone able to comment on the <object>   </object> wrapped around the <embed></embed> being of significance.

Chris Kenniburg's profile picture
Posts: 33

10 January 2011, 12:37 PM

Hey Andy,

I tinkered with this for a few weeks and gave up.  I don't know why JVideoDirect won't embed. 

3 results