1 Reply Latest reply on Apr 8, 2010 4:43 PM by Peter deHaan

    Playing YouTube Video in Spark VideoDisplay

    emansouri Level 1

      Hello,

       

      I am using the AS3 Google API which has a GoogleVideoSearch class that returns objects representing Google/YouTube videos.  These objects have a playUrl property that looks like this:

       

      http://www.youtube.com/v/m1dv_y_3EK0&fs=1&source=uds&autoplay=1

       

      This content appears to be a SWF, and youtube.com doesn't have a general crossdomain.xml policy file.

       

      What would be the best way to play this content in a Spark Video control or is it even going to be possible?

       

      Can I somehow load the bytes of the SWF into a Loader then attach those bytes to a VideoDisplay sort of like I do with Images from non-trusted sites