BBcode MediaSites Package [Deleted]

I bet you we could figure out what we needed for justin.tv if we can figure out how to make a simple flv play using a self hosted player like flowplayer. I'm trying to learn how to start with small simple stuff first and expand from that. I'm hosting the flv files on cl.ly (free cloud service) and they use some kind of random string in the url before the flash file. Much like how a tinyurl type service would do. So the file is actually at something like this: http://cl.ly/0x322q251c372K0a0q0w/grenade.flv

It seems I have two {$id} variables in this scenario.
And just like the soundcloud example above, I've got to figure out how to match the two urls users will possible capture from the file serving webpage (because the other possible url people might use is http://cl.ly/0x322q251c372K0a0q0w )and make a callback.php somewhere to pipe and enter all the corresponding details into the ACP -> Edit BB code media sites

Lots of digging to do because I have no idea where the callbacks are or how it even works but I'm determined to figure this out. And OH MY! What is this "regular expression"?
When I see the embed code from twitch.tv, I found that they have two {$id}. One $id is for channel, and another is for video. Livestream links have only the first $id, and we can make the link easily. But with vids are attached to channels, so we need two include both two $id.
 
Can anybody get embed videos and livestream from twitch.tv/justin.tv? Thanks.
________________________________________
Media Site ID: twitchtv
________________________________________
Site Title: Twitch.tv
________________________________________
Site URL: http://www.twitch.tv
________________________________________
Match URLs: #(twitch|justin).tv/(?P<id>[a-z0-9-_=+^%]+)#si
________________________________________
Embed HTML:
HTML:
<object type="application/x-shockwave-flash" height="300" width="400" id="live_embed_player_flash" data="http://www.twitch.tv/widgets/live_embed_player.swf?channel={$id}" bgcolor="#000000">
    <param name="allowFullScreen" value="true" />
    <param name="allowScriptAccess" value="always" />
    <param name="allowNetworking" value="all" />
    <param name="movie" value="http://www.twitch.tv/widgets/live_embed_player.swf" />
    <param name="flashvars" value="hostname=www.twitch.tv&channel={$id}&auto_play=false&start_volume=25" />
</object>
<iframe frameborder="0" scrolling="no" id="chat_embed" src="http://twitch.tv/chat/embed?channel={$id}&amp;popout_chat=true" height="400" width="500"></iframe>

__under_Advanced_Options_________________
Regular Expression Matching: Use 'Match URLs' as PCRE regular expressions [ Checked ]
________________________________________

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

I bet you we could figure out what we needed for justin.tv if we can figure out how to make a simple flv play using a self hosted player like flowplayer. I'm trying to learn how to start with small simple stuff first and expand from that. I'm hosting the flv files on cl.ly (free cloud service) and they use some kind of random string in the url before the flash file. Much like how a tinyurl type service would do. So the file is actually at something like this: http://cl.ly/0x322q251c372K0a0q0w/grenade.flv

It seems I have two {$id} variables in this scenario.
And just like the soundcloud example above, I've got to figure out how to match the two urls users will possible capture from the file serving webpage (because the other possible url people might use is http://cl.ly/0x322q251c372K0a0q0w )and make a callback.php somewhere to pipe and enter all the corresponding details into the ACP -> Edit BB code media sites

Lots of digging to do because I have no idea where the callbacks are or how it even works but I'm determined to figure this out. And OH MY! What is this "regular expression"?

I have already done that as well...lemme find it and test with that url...
 
________________________________________
Media Site ID: twitchtv
________________________________________
Site Title: Twitch.tv
________________________________________
Site URL: http://www.twitch.tv
________________________________________
Match URLs: #(twitch|justin).tv/(?P<id>[a-z0-9-_=+^%]+)#si
________________________________________
Embed HTML:
HTML:
<object type="application/x-shockwave-flash" height="300" width="400" id="live_embed_player_flash" data="http://www.twitch.tv/widgets/live_embed_player.swf?channel={$id}" bgcolor="#000000">
    <param name="allowFullScreen" value="true" />
    <param name="allowScriptAccess" value="always" />
    <param name="allowNetworking" value="all" />
    <param name="movie" value="http://www.twitch.tv/widgets/live_embed_player.swf" />
    <param name="flashvars" value="hostname=www.twitch.tv&channel={$id}&auto_play=false&start_volume=25" />
</object>
<iframe frameborder="0" scrolling="no" id="chat_embed" src="http://twitch.tv/chat/embed?channel={$id}&amp;popout_chat=true" height="400" width="500"></iframe>

__under_Advanced_Options_________________
Regular Expression Matching: Use 'Match URLs' as PCRE regular expressions [ Checked ]
________________________________________

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



I have already done that as well...lemme find it and test with that url...
This code does not support embed videos, just livestreams :(
 
I bet you we could figure out what we needed for justin.tv if we can figure out how to make a simple flv play using a self hosted player like flowplayer. I'm trying to learn how to start with small simple stuff first and expand from that. I'm hosting the flv files on cl.ly (free cloud service) and they use some kind of random string in the url before the flash file. Much like how a tinyurl type service would do. So the file is actually at something like this: http://cl.ly/0x322q251c372K0a0q0w/grenade.flv
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
I have already done that as well...lemme find it and test with that url...
I just decided to make a new addon for this really quick because searching got boring, it is the same as the one for King kovifors bbcode manager and if you install this you must uninstall or upgrade the original xxmP addon with this addon and continue to use the bbcodes for KingK's BBcode manager with that if you like. It will work with both BBCM and the XF BBcode media site systems and uses the same core files. Playback currently supports mp4, m4v and flv.

Instructions:
Extract & Upload - the contents of the xxmP.1.0.0.b.zip archive and upload the contents of the UPLOAD folder to your xenforo installations root.

Install from the addon-xxmP.xml

your done.
 

Attachments

Nice add-on. A few questions...

(1) Is there a complete list of sites that the add-on supports? I didn't see it listed in the add-on description or in the downloaded zip file.

(2) Here's another request for embedded video in posts, E! on-line as in...

http://www.eonline.com/videos/fashion-police-miss-piggy/180997
1. Yes
2. This was requested (by me, I think) before, and this is what I currently use.
Match URLs:
Code:
eonline.com/videos/{$id:alphanum}_
Embed HTML:
Code:
<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>
 
Please help me bb code media sites "http://mp3.zing.vn"

Link demo sites: http://mp3.zing.vn/bai-hat/Chi-Con-Trong-Mo-Minh-Vuong-M4U/ZWZFOA7A.html

code add forum:

Code:
[FLASH]http://static.mp3.zing.vn/skins/mp3_main/flash/player/mp3Player_skin1.swf?xmlurl=http://mp3.zing.vn/blog?MjAxMi8wMi8xNS9iLzQvInagaMEYjQ3YzRiMzRmZTk3M2RjYTQxMmY4ZWY5OWI5NjY3OGYdUngWeBXAzfENo4WeBdUngJIEPDsm4gVHJvInagaMEWeBmmUsICgTmUsICahfE1pWeBmggVsawxqFdUngZyBNNFV8fDI[/FLASH]

code add blog

Code:
<object width="300" height="61"><param name="movie" value="http://static.mp3.zing.vn/skins/mp3_main/flash/player/mp3Player_skin1.swf?xmlurl=http://mp3.zing.vn/blog?MjAxMi8wMi8xNS9iLzQvInagaMEYjQ3YzRiMzRmZTk3M2RjYTQxMmY4ZWY5OWI5NjY3OGYdUngWeBXAzfENo4WeBdUngJIEPDsm4gVHJvInagaMEWeBmmUsICgTmUsICahfE1pWeBmggVsawxqFdUngZyBNNFV8fDI" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><embed width="300" height="61" src="http://static.mp3.zing.vn/skins/mp3_main/flash/player/mp3Player_skin1.swf?xmlurl=http://mp3.zing.vn/blog?MjAxMi8wMi8xNS9iLzQvInagaMEYjQ3YzRiMzRmZTk3M2RjYTQxMmY4ZWY5OWI5NjY3OGYdUngWeBXAzfENo4WeBdUngJIEPDsm4gVHJvInagaMEWeBmmUsICgTmUsICahfE1pWeBmggVsawxqFdUngZyBNNFV8fDI" quality="high" wmode="transparent" type="application/x-shockwave-flash"></embed></object><br />
 
I just decided to make a new addon for this really quick because searching got boring, it is the same as the one for King kovifors bbcode manager and if you install this you must uninstall or upgrade the original xxmP addon with this addon and continue to use the bbcodes for KingK's BBcode manager with that if you like. It will work with both BBCM and the XF BBcode media site systems and uses the same core files. Playback currently supports mp4, m4v and flv.

Instructions:
Extract & Upload - the contents of the xxmP.1.0.0.b.zip archive and upload the contents of the UPLOAD folder to your xenforo installations root.

Install from the addon-xxmP.xml

your done.


hmmm.. complete uninstall and reinstall. The flv doesn't work for me.
 
gimme a few just sat back down - I will replace this post with my response in a few minutes I was helping someone with a regex issue and want to finish that up first ... if you can try to refrain from posting until I remove this post and replace it with something meaningful.


edit: I am going to have update this post tomorrow....I am getting tired...and I am still hungry....sorry
 
Youtube update their embeed code a new version. Does anyone have the bbcode for xenforo?

Example:

HTML:
<object style="height: 390px; width: 640px"><param name="movie" value="http://www.youtube.com/v/sfYVd1SHufk?version=3&feature=player_embedded"><param name="allowFullScreen" value="true"><param name="allowScriptAccess" value="always"><embed src="http://www.youtube.com/v/sfYVd1SHufk?version=3&feature=player_embedded" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="640" height="360"></object>
 
Here is de player 3 of youtube:

HTML:
<object width="640" height="400" data="http://www.youtube.com/v/{$id}&hl=es_ES&amp;fs=1&amp;version=3" type="application/x-shockwave-flash">
    <param name="movie" value="http://www.youtube.com/v/{$id}&hl=es_ES&amp;fs=1&amp;version=3" />
    <param name="allowFullScreen" value="true" />
    <param name="wmode" value="opaque" />
    <embed src="http://www.youtube.com/v/{$id}&hl=es_ES&amp;fs=1&amp;version=3" type="application/x-shockwave-flash" allowfullscreen="true" wmode="opaque" width="640" height="400" />
</object>
 
Top Bottom