#http://soundcloud\.com/(?P<id>[\-a-z0-9_]+/[\-a-z0-9_]+/)$#siU
<object height="81" width="100%">
<param name="movie" value="https://player.soundcloud.com/player.swf?url=http%3A%2F%2Fsoundcloud.com%2F{$id}&show_comments=true&auto_play=false&color=ff7700"></param>
<param name="allowscriptaccess" value="always"></param>
<embed allowscriptaccess="always" height="81" src="https://player.soundcloud.com/player.swf?url=http%3A%2F%2Fsoundcloud.com%2F{$id}&show_comments=true&auto_play=false&color=ff7700" type="application/x-shockwave-flash" width="100%"></embed>
</object>
[media=soundcloud]trancemixdotorg/edgy-and-danny-p-metamorphic[/media]
#http://soundcloud\.com/(?P<id>[\-a-z0-9_]+/[\-a-z0-9_]+)$#siU
#http://[B]diversifiedsound[/B]\.podomatic\.com/entry/(?P<id>[\-a-z0-9_]+)$#siU
<object width='100%' height='85'>
<param name='movie' value='http://diversifiedsound.podomatic.com/swf/joeplayer_v18c.swf'></param>
<param name='flashvars' value='minicast=false&jsonLocation=http%3A%2F%2Fdiversifiedsound.podomatic.com%2Fentry%2Fembed_params%2F{$id}%26color%3D43bee7%26autoPlay%3Dfalse%26width%3D100%%26height%3D85'></param>
<param name='allowFullScreen' value='true'></param><param name='allowscriptaccess' value='always'></param><embed src='http://diversifiedsound.podomatic.com/swf/joeplayer_v18c.swf' flashvars='minicast=false&jsonLocation=http%3A%2F%2Fdiversifiedsound.podomatic.com%2Fentry%2Fembed_params%2F{$id}%26color%3D43bee7%26autoPlay%3Dfalse%26width%3D100%%26height%3D85' type='application/x-shockwave-flash' allowscriptaccess='always' allowfullscreen='true' width='100%' height='85'></embed>
</object>
<object width="250" height="250" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="gsPlaylist5637529628" name="gsPlaylist5637529628"><param name="movie" value="http://grooveshark.com/widget.swf" /><param name="wmode" value="window" /><param name="allowScriptAccess" value="always" /><param name="flashvars" value="hostname=cowbell.grooveshark.com&playlistID=56375296&bbg=000000&bth=000000&pfg=000000&lfg=000000&bt=FFFFFF&pbg=FFFFFF&pfgh=FFFFFF&si=FFFFFF&lbg=FFFFFF&lfgh=FFFFFF&sb=FFFFFF&bfg=666666&pbgh=666666&lbgh=666666&sbh=666666&p=0" /><!--[if !IE]>--><object type="application/x-shockwave-flash" data="http://grooveshark.com/widget.swf" width="250" height="250"><param name="wmode" value="window" /><param name="allowScriptAccess" value="always" /><param name="flashvars" value="hostname=cowbell.grooveshark.com&playlistID=56375296&bbg=000000&bth=000000&pfg=000000&lfg=000000&bt=FFFFFF&pbg=FFFFFF&pfgh=FFFFFF&si=FFFFFF&lbg=FFFFFF&lfgh=FFFFFF&sb=FFFFFF&bfg=666666&pbgh=666666&lbgh=666666&sbh=666666&p=0" /><span><a href="http://grooveshark.com/playlist/Southern+Rock/56375296" title="Southern Rock by OldRow on Grooveshark">Southern Rock by OldRow on Grooveshark</a></span></object><!--<![endif]--></object>
http://grooveshark.com/#/playlist/*/{$id}
<object width="250" height="250" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="" name="">
<param name="movie" value="http://grooveshark.com/widget.swf" />
<param name="wmode" value="window" />
<param name="allowScriptAccess" value="always" />
<param name="flashvars" value="hostname=cowbell.grooveshark.com&playlistID={$id}&bbg=000000&bth=000000&pfg=000000&lfg=000000&bt=FFFFFF&pbg=FFFFFF&pfgh=FFFFFF&si=FFFFFF&lbg=FFFFFF&lfgh=FFFFFF&sb=FFFFFF&bfg=666666&pbgh=666666&lbgh=666666&sbh=666666&p=0" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="http://grooveshark.com/widget.swf" width="250" height="250">
<param name="wmode" value="window" />
<param name="allowScriptAccess" value="always" />
<param name="flashvars" value="hostname=cowbell.grooveshark.com&playlistID={$id}&bbg=000000&bth=000000&pfg=000000&lfg=000000&bt=FFFFFF&pbg=FFFFFF&pfgh=FFFFFF&si=FFFFFF&lbg=FFFFFF&lfgh=FFFFFF&sb=FFFFFF&bfg=666666&pbgh=666666&lbgh=666666&sbh=666666&p=0" />
<span>
<a href="http://grooveshark.com/#/playlist//{$id}" title=""></a>
</span>
</object>
<!--<![endif]-->
</object>
Didn't seem to work... Help please from anyone... grooveshark auto embedding would drive literally thousands more users to my site.Try this.
Match URL:
HTML-code:Code:http://grooveshark.com/#/playlist/*/{$id}
Code:<object width="250" height="250" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="" name=""> <param name="movie" value="http://grooveshark.com/widget.swf" /> <param name="wmode" value="window" /> <param name="allowScriptAccess" value="always" /> <param name="flashvars" value="hostname=cowbell.grooveshark.com&playlistID={$id}&bbg=000000&bth=000000&pfg=000000&lfg=000000&bt=FFFFFF&pbg=FFFFFF&pfgh=FFFFFF&si=FFFFFF&lbg=FFFFFF&lfgh=FFFFFF&sb=FFFFFF&bfg=666666&pbgh=666666&lbgh=666666&sbh=666666&p=0" /> <!--[if !IE]>--> <object type="application/x-shockwave-flash" data="http://grooveshark.com/widget.swf" width="250" height="250"> <param name="wmode" value="window" /> <param name="allowScriptAccess" value="always" /> <param name="flashvars" value="hostname=cowbell.grooveshark.com&playlistID={$id}&bbg=000000&bth=000000&pfg=000000&lfg=000000&bt=FFFFFF&pbg=FFFFFF&pfgh=FFFFFF&si=FFFFFF&lbg=FFFFFF&lfgh=FFFFFF&sb=FFFFFF&bfg=666666&pbgh=666666&lbgh=666666&sbh=666666&p=0" /> <span> <a href="http://grooveshark.com/#/playlist//{$id}" title=""></a> </span> </object> <!--<![endif]--> </object>
It's worked by pasting the correct URL.Actually it works if you click the media button and enter the grooveshark URL!!! but it does not work just by pasting the URL in the reply box. Auto embedding the URL would be KEY!!!
http://grooveshark.com/#/playlist/Southern Rock/56375296
http://grooveshark.com/#/playlist/Southern%20Rock/56375296
http://grooveshark.com/#/playlist/Southern
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="480" height="270" id="CEGEmbed"><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /><param name="movie" value="http://www.eonline.com/static/videoplayer/platform_players/swf/CEGDynamicPlayer.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><param name="flashvars" value="width=480&height=270&ID=Embed&releasePID=8QwwK9n9CMEyPJdmEQT1gQqb5HNLbjQM&playerId=Embed&skinUrl=http://www.eonline.com/static/videoplayer/platform_players/swf/skinCEGPlayer.swf&locId=US" /><embed width="480" height="270" flashvars="width=480&height=270&ID=Embed&releasePID=8QwwK9n9CMEyPJdmEQT1gQqb5HNLbjQM&playerId=Embed&skinUrl=http://www.eonline.com/static/videoplayer/platform_players/swf/skinCEGPlayer.swf&locId=US" allowScriptAccess="always" allowfullscreen="true" wmode="transparent" quality="high" bgcolor="#000000" name="CEGEmbed" id="CEGEmbed" src="http://www.eonline.com/static/videoplayer/platform_players/swf/CEGDynamicPlayer.swf" type="application/x-shockwave-flash"/></object>
<object classid="clsid:{$id}" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="480" height="270" id="CEGEmbed"><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /><param name="movie" value="http://www.eonline.com/static/videoplayer/platform_players/swf/CEGDynamicPlayer.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><param name="flashvars" value="width=480&height=270&ID=Embed&releasePID=8QwwK9n9CMEyPJdmEQT1gQqb5HNLbjQM&playerId=Embed&skinUrl=http://www.eonline.com/static/videoplayer/platform_players/swf/skinCEGPlayer.swf&locId=US" /><embed width="480" height="270" flashvars="width=480&height=270&ID=Embed&releasePID=8QwwK9n9CMEyPJdmEQT1gQqb5HNLbjQM&playerId=Embed&skinUrl=http://www.eonline.com/static/videoplayer/platform_players/swf/skinCEGPlayer.swf&locId=US" allowScriptAccess="always" allowfullscreen="true" wmode="transparent" quality="high" bgcolor="#000000" name="CEGEmbed" id="CEGEmbed" src="http://www.eonline.com/static/videoplayer/platform_players/swf/CEGDynamicPlayer.swf" type="application/x-shockwave-flash"/></object>
The embed codes posted in my last post are for a second video on E! Online. Here's the embed code for the MTV video, with the ID bolded where it appears:I not found ID 714816 in embedded code. There the code another. Therefore for this purpose it is necessary to write the handler. Write or ask somebody.
<embed src="http://media.mtvnservices.com/mgid:uma:video:mtv.com:714816/cp~id%3D1518071%26vid%3D714816%26uri%3Dmgid%3Auma%3Avideo%3Amtv.com%3A714816" width="512" height="288" type="application/x-shockwave-flash" allowFullScreen="true" allowScriptAccess="always" base="."></embed><div style="margin:0px;padding:4px;width:500px;text-align:center;font-family:Verdana,sans-serif;font-size:12px;"><a href="http://www.mtv.com/music/artist/foster_the_people/artist.jhtml" style="color:#439CD8;" target="_blank">Foster the People</a> - <a href="http://www.mtv.com/videos/foster-the-people/714816/dont-stop-color-on-the-walls.jhtml#vid=714816" style="color:#439CD8;" target="_blank">Don't Stop (Color On The Walls)</a> - <a href="http://www.mtv.com/music/" style="color:#439CD8;" target="_blank">Music</a> - <a href="http://www.mtv.com/music/video/" style="color:#439CD8;" target="_blank">More Music Videos</a></div>
I gave it a try and this is what I came up with....Could someone assist me with embedding videos from MTV (yes, they do still have videos sometimes, haha!)? The issue I'm facing is that music videos have the artist's name inserted between videos/ and the ID, and I'm not sure how to make that work.
For example: The ID is 714816;
INSERT INTO xf_bb_code_media_site
(media_site_id, site_title, site_url, match_urls, match_is_regex, match_callback_class, match_callback_method, embed_html, embed_html_callback_class, embed_html_callback_method, supported, addon_id)
VALUES
('mtvmv', 'MTV Music Video', 'http://mtv.com', '#mtv\\.com/[a-z-0-9-]+/[a-z-0-9-]+/(?P<id>[0-9]+)/[a-z-0-9-]+\\.jhtml\\\#id=[0-9]+#si', 1, '', '','<embed width="500px" height="383px" flashvars="sid=MTV_Videos&autoPlay=false" swliveconnect="true" wmode="transparent" allowscriptaccess="always" allowfullscreen="true" quality="high" bgcolor="#000000" name="embeddedPlayer" id="embeddedPlayer" style="undefined" src="http://media.mtvnservices.com/mgid:uma:video:mtv.com:{$id}/" type="application/x-shockwave-flash">', '', '', 1, '')
<embed width="500px" height="383px" flashvars="sid=MTV_Videos&autoPlay=false" swliveconnect="true" wmode="transparent" allowscriptaccess="always" allowfullscreen="true" quality="high" bgcolor="#000000" name="embeddedPlayer" id="embeddedPlayer" style="undefined" src="http://media.mtvnservices.com/mgid:uma:video:mtv.com:{$id}/" type="application/x-shockwave-flash">
INSERT INTO xf_bb_code_media_site
(media_site_id, site_title, site_url, match_urls, match_is_regex, match_callback_class, match_callback_method, embed_html, embed_html_callback_class, embed_html_callback_method, supported, addon_id)
VALUES
('mtvtv', 'MTV Programming', 'http://mtv.com', '#mtv\\.com/[a-z-0-9-]+/[a-z-0-9-]+/(?P<id>[0-9]+)/playlist\\.jhtml\\\#[a-z0-9=]+#si', 1, '', '','<embed src="http://media.mtvnservices.com/mgid:uma:videolist:mtv.com:{$id}/cp~instance%3Dfullepisode%26autoPlay%3Dfalse%26id%3D{$id}%26uri%3Dmgid%3Auma%3Avideolist%3Amtv.com%3A{$id}" width="512" height="288" type="application/x-shockwave-flash" allowFullScreen="true" allowScriptAccess="always" base="."></embed>', '', '', 1, '')
<embed src="http://media.mtvnservices.com/mgid:uma:videolist:mtv.com:{$id}/cp~instance%3Dfullepisode%26autoPlay%3Dfalse%26id%3D{$id}%26uri%3Dmgid%3Auma%3Avideolist%3Amtv.com%3A{$id}" width="512" height="288" type="application/x-shockwave-flash" allowFullScreen="true" allowScriptAccess="always" base="."></embed>
Not simply, as id in the link in any way does not correspond to the embedded code.
We use essential cookies to make this site work, and optional cookies to enhance your experience.