Streaming MP4 video

Working with Media (graphics, audio, video) & other Assets

Moderator: Nav

Streaming MP4 video

Postby tahiya » Fri Mar 01, 2013 10:13 am

I understand how to use an MP4 file that is just sitting on a server, but can I use a true streaming service, like BrightCove, that adjusts the file delivered based on the user connection? Since the URL the service generates includes their player and doesn't actually end in an extension of a file type, the SB video object can't seem to use the URL to display the video.

I can just let the LMS show the player and then add SB items interleaved with video in the LMS TOC, but I liked the activities I was doing where the video pauses mid-stream and asks the user to do something based on the video. Having the activities AFTER the video is less fun and eliminates the surprise factor.

Aside: BrightCove does allow me to input cue points to the video.
play, play, play
tahiya
 
Posts: 116
Joined: Thu Apr 14, 2011 3:12 pm

Re: Streaming MP4 video

Postby Nav » Fri Mar 01, 2013 6:34 pm

Hi Tahiya,
You have a couple choices. You could use the IFrame object to point to that URL. However, you wouldn't be able to catch any cue points or know when the video is finished. But you could set up a timer that is the same length as the video, and you'd know when that was done.

You could also try to use the RTMP Streaming Video object (another widget under "More Objects"). That is designed for this type of dynamic delivery, but (disclaimer!) not all video services allow their video to be embedded in such a way. The object takes a couple properties - URL and Stream. I don't really know how to decipher those from the URL that BrightCove is providing you with, but if you send me the BrightCove URL, I can ask our development team to see if they can figure it out. If it does work, I don't think you would use BrightCove's cue points - the RTMP object has a cue points property that works just the same as our regular video object (and you'd probably need to use that).

You might also ask BrightCove if they allow direct access to their videos so a 3rd party player can display them. They might have a different URL for that purpose, or they might tell you right off the bat that they don't allow it. Send me that URL and cross your fingers!

- Nav
Nav
 
Posts: 866
Joined: Mon Nov 05, 2007 2:58 pm

Re: Streaming MP4 video

Postby tahiya » Thu Mar 07, 2013 2:15 pm

So the iFrame thing works great, but if cues can be applied, that would be beyond beyond.

Brightcove offers three codes for using the output.
They call this one Website

<!-- Start of Brightcove Player -->

<div style="display:none">

</div>

<!--
By use of this code snippet, I agree to the Brightcove Publisher T and C
found at https://accounts.brightcove.com/en/term ... onditions/.
-->

<script language="JavaScript" type="text/javascript" src="http://admin.brightcove.com/js/BrightcoveExperiences.js"></script>

<object id="myExperience2206135974001" class="BrightcoveExperience">
<param name="bgcolor" value="#FFFFFF" />
<param name="width" value="500" />
<param name="height" value="470" />
<param name="playerID" value="2183113595001" />
<param name="playerKey" value="AQ~~,AAAAmtVKCrk~,0nvjWr4hD8ohKNw9pOtlWKUb_E78DWSG" />
<param name="isVid" value="true" />
<param name="isUI" value="true" />
<param name="dynamicStreaming" value="true" />

<param name="@videoPlayer" value="2206135974001" />
</object>

<!--
This script tag will cause the Brightcove Players defined above it to be created as soon
as the line is read by the browser. If you wish to have the player instantiated only after
the rest of the HTML is processed and the page load is complete, remove the line.
-->
<script type="text/javascript">brightcove.createExperiences();</script>

<!-- End of Brightcove Player -->




this one Blog

<object id="flashObj" width="500" height="470" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,47,0"><param name="movie" value="http://c.brightcove.com/services/viewer/federated_f9?isVid=1&isUI=1" /><param name="bgcolor" value="#FFFFFF" /><param name="flashVars" value="@videoPlayer=2206135974001&playerID=2183113595001&playerKey=AQ~~,AAAAmtVKCrk~,0nvjWr4hD8ohKNw9pOtlWKUb_E78DWSG&domain=embed&dynamicStreaming=true" /><param name="base" value="http://admin.brightcove.com" /><param name="seamlesstabbing" value="false" /><param name="allowFullScreen" value="true" /><param name="swLiveConnect" value="true" /><param name="allowScriptAccess" value="always" /><embed src="http://c.brightcove.com/services/viewer/federated_f9?isVid=1&isUI=1" bgcolor="#FFFFFF" flashVars="@videoPlayer=2206135974001&playerID=2183113595001&playerKey=AQ~~,AAAAmtVKCrk~,0nvjWr4hD8ohKNw9pOtlWKUb_E78DWSG&domain=embed&dynamicStreaming=true" base="http://admin.brightcove.com" name="flashObj" width="500" height="470" seamlesstabbing="false" type="application/x-shockwave-flash" allowFullScreen="true" allowScriptAccess="always" swLiveConnect="true" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed></object>





and this one URL

http://bcove.me/oc70ogec
play, play, play
tahiya
 
Posts: 116
Joined: Thu Apr 14, 2011 3:12 pm


Return to Media & Assets

Who is online

Users browsing this forum: No registered users and 2 guests

cron
Not able to open ./cache/data_global.php