citcit / autoembed

Automatically exported from code.google.com/p/autoembed
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Sites that embed content from multiple sources (e.g. Bebo) #27

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Multiple Sources
Some sites embed content from other sources.  I am able to parse out the
embed code so that the content can be embeded however, since multiple
sources are used, it's going to be difficult to parse out the different
attributes of the embed object to allow for manipulation (e.g. width,
height, etc)

Example: Bebo
Locally hosted content
http://www.bebo.com/FlashBox.jsp?FlashBoxId=8249832626
<script
src="http://www.ooyala.com/player.js?width=1280&height=720&embedCode=Nwa282Ogp5j
JkshFl2-VDYZ6qjfrRNpf"></script>
<noscript>
  <object id="ooyalaPlayer_8l5fu_fobz0olk"
          height="720"
          width="1280"
          classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"

codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
    <param name="movie" value="http://www.ooyala.com/player.swf"/>
    <param name="quality" value="high"/>
    <param name="bgcolor" value="#000000"/>
    <param name="allowScriptAccess" value="always"/>
    <param name="allowFullScreen" value="true"/>
    <param name="flashvars"
value="embedCode=Nwa282Ogp5jJkshFl2-VDYZ6qjfrRNpf"/>
    <embed allowscriptaccess="always"
           pluginspage="http://www.adobe.com/go/getflashplayer"
           flashvars="embedCode=Nwa282Ogp5jJkshFl2-VDYZ6qjfrRNpf"
           width="1280"
           align="middle"
           allowfullscreen="true"
           play="true"
           type="application/x-shockwave-flash"
           bgcolor="#000000"
           height="720"
           name="ooyalaPlayer_8l5fu_fobz0olk"
           quality="high"
           loop="false"
           src="http://www.ooyala.com/player.swf" />
  </object>
</noscript>

Embeded Content (Example from YouTube)
http://www.bebo.com/FlashBox.jsp?FlashBoxId=5032506940&
<object width="425"
        height="350">
  <param name="movie" value="http://www.youtube.com/v/1JynBEX_kg8"></param>
  <embed src="http://www.youtube.com/v/1JynBEX_kg8"
             type="application/x-shockwave-flash"
             width="425"
             height="350" />
</object>

Original issue reported on code.google.com by phpu...@gmail.com on 16 Jan 2009 at 4:00

GoogleCodeExporter commented 8 years ago
discussion moved to googgroups

kthxbye

Original comment by phpu...@gmail.com on 16 Jan 2009 at 7:29