Digital Media Suite API Forums

« Back to Digital Signs API Forum

Playing YouTube videos on the DMP

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hi,
 
I have an HTML asset that contains a reference to a YouTube video.  The video itself plays fine on the DMP, but without the audio.  Is this the expected behavior?  If so, is there any way to make the audio play over the DMP as well?  Below is the sample HTML code snippet:
 
            <object width="480" height="385">
              <param name="movie" value="http://www.youtube.com/v/kM4yuo2XRPQ&amp;autoplay=1" />
              <param name="allowFullScreen" value="true" />
              <param name="allowscriptaccess" value="always" />
              <embed type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385" src="http://www.youtube.com/v/kM4yuo2XRPQ&amp;autoplay=1" />
            </objec
 
Thanks,
Elaine

Hi,
 
I have an HTML asset that contains a reference to a YouTube video.  The video itself plays fine on the DMP, but without the audio.  Is this the expected behavior?  If so, is there any way to make the audio play over the DMP as well?  Below is the sample HTML code snippet:

Thanks,
Elaine

 
Yes, this is expected behavior because you are not playing the video correctly. You are actually loading a Flash SWF that is playing the video. Flash plays in software on the DMP and we do not support audio in flash.  Also any video that can play in Flash is limited in resolution and frame rate, i am surprised it plays at all.  The correct way to play video on a DMP is using the Video hardware, which can be called through javascript. Unfortunately that means you CAN'T play YouTube videos because they are not in the correct format (we dont support MP4).  The only way around it is to use the correct video formats and play them using the hardware. The advantage of the hardware is that we support Full HD (1920x1080) at up to 25mb/s.
 
Greg

RE: Playing YouTube videos on the DMP
dmm dmp youtube html
Answer
4/27/11 9:18 PM as a reply to Gregory Shonting.

 
Yes, this is expected behavior because you are not playing the video correctly. You are actually loading a Flash SWF that is playing the video. Flash plays in software on the DMP and we do not support audio in flash.  Also any video that can play in Flash is limited in resolution and frame rate, i am surprised it plays at all.  The correct way to play video on a DMP is using the Video hardware, which can be called through javascript. Unfortunately that means you CAN'T play YouTube videos because they are not in the correct format (we dont support MP4).  The only way around it is to use the correct video formats and play them using the hardware. The advantage of the hardware is that we support Full HD (1920x1080) at up to 25mb/s.
 
Greg

 
I ran into an issue playing YouTube videos on DMM 5.2.2. that did not previously exist in DMM 5.2.  Basically, I publish a playlist as an emergency which references an HTML asset that contains an embedded YouTube video, i.e.:
 
            <object width="480" height="385">
              <param name="movie" value="http://www.youtube.com/v/FzFvnyCW4z0&amp;autoplay=1&amp;loop=1" />
              <param name="allowFullScreen" value="true" />
              <param name="allowscriptaccess" value="always" />
              <embed type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385" src="http://www.youtube.com/v/FzFvnyCW4z0&amp;autoplay=1&amp;loop=1" />
            </object>
 
When the HTML asset is displayed on the target DMPs, the YouTube video doesn't load at all in DMM 5.2.2; using the same HTML asset in DMM 5.2, the YouTube video loads without sound ( as expected).  Is this a potential firmware issue on 5.2.2 related to emergency playlist activation?
 
Also, I logged into one of the target DMPs directly (DMP-4400 5.2.2) and in the "URL To Be Displayed" referenced a link to the same HTML asset that I used to publish the emergency, and this time the YouTube video loads.  So it doesn't appear to be a DMP-specific issue but related more to the way the DMM 5.2.2. retrieves and displays HTML assets.  Could you please advise?  Thanks!