embed twitch.tv

Hey all,

 

is there a way i can edit the Video Module to allow users to embed videos from Twitch.TV using the URL like Youtube.

 

example URL: http://www.twitch.tv/blackshadowmike/b/402046829

 

embed code for example:

 

<object bgcolor='#000000' data='http://www.twitch.tv/widgets/archive_embed_player.swf' height='378' id='clip_embed_player_flash' type='application/x-shockwave-flash' width='620'><param name='movie' value='http://www.twitch.tv/widgets/archive_embed_player.swf'><param name='allowScriptAccess' value='always'><param name='allowNetworking' value='all'><param name='allowFullScreen' value='true'><param name='flashvars' value='start_volume=25&archive_id=402046829&auto_play=false&title=Untitled%2BBroadcast&channel=blackshadowmike'></object><br><a href="http://www.twitch.tv/blackshadowmike" class="trk" style="padding:2px 0px 4px; display:block; width: 320px; font-weight:normal; font-size:10px; text-decoration:underline; text-align:center;">Watch live video from blackshadowmike on TwitchTV</a>

~~Mike ~~ This Signature is missing something :(
Quote · 13 May 2013

i don't think there is a way yet...

Quote · 8d ago

The answer is yes; but you need to do some code modification and add it to the htmlpurifier so it isn't stripped out.  The best way to do it is to clone the Youtube.php embed in the htmlpurifer and rename it.  Look in /plugins/htmlpurifier/standalone/HTMLPurifier/Filter.  You also need to add the uploader code; clone the current embed for the video service call.  There use to be a module in the market for additional embed sources.

 

If you like, you can hire me to do this for you.

Geeks, making the world a better place
Quote · 7d ago

OK, I look foolish here; for some reason spike10 decided he would bump a post from back in 2013 and I was too stupid to pay attention to the post date.  Why in hades would you revive an old post and comment in it just to say it can't be done when the OP is long gone?

Geeks, making the world a better place
Quote · 7d ago

 

OK, I look foolish here; for some reason spike10 decided he would bump a post from back in 2013 and I was too stupid to pay attention to the post date.  Why in hades would you revive an old post and comment in it just to say it can't be done when the OP is long gone?

 i was asking in the same way that he was and no other post was made about it ( twitch Live ) as well

also, yes it was older forum post but at lease he got his question answer..

Quote · 4d ago
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.