• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

[Add More Video Sites] BB Code Media

EQnoble

Well-known member
There is a problem with doing a direct easy to use one is for this site as well as some others. The video id= is different than the end of the url string so there is no way to gather the actual file name out of the url....you must use the embed code to get the video url

uzmantv

Media Site ID:
Code:
uzmantv
Site Title:
Code:
uzmantv
Site URL:
Code:
http://www.uzmantv.com/
checked.png
Match URLs:
Code:
http://www.uzmantv.com/getswf/{$id}
<div style="width:450px"><object height="404" width="450" id="uzmanEmbedPlayer{$id}" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"><param value="http://www.uzmantv.com/getswf/{$id}" name="movie" /><param value="Transparent" name="WMode" /><param value="true" name="allowFullscreen" /><param value="all" name="allowNetworking" /><param value="always" name="allowScriptAccess" /><embed type="application/x-shockwave-flash" name="uzmanPlayer{$id}" height="404" allowNetworking="all" allowScriptAccess="always" allowFullscreen="true" width="450" wmode="transparent" src="http://www.uzmantv.com/getswf/{$id}" /></object><div><div style="float:left;"><a target="_blank" href="http://www.uzmantv.com" id="uzmanlink{$id}"><img style="border:none" src="http://www.uzmantv.com/images/uzmantv.png" alt="UzmanTV" /></a>  </div><div style="padding-top:7px;"><a style="font-family:Verdana;font-size:12px;" target="_blank" href="http://www.uzmantv.com/*/*" id="*{$id}">*</a></div></div></div>
<div style="width:450px"><object height="404" width="450" id="uzmanEmbedPlayer{$id}" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"><param value="http://www.uzmantv.com/getswf/{$id}" name="movie" /><param value="Transparent" name="WMode" /><param value="true" name="allowFullscreen" /><param value="all" name="allowNetworking" /><param value="always" name="allowScriptAccess" /><embed type="application/x-shockwave-flash" name="uzmanPlayer{$id}" height="404" allowNetworking="all" allowScriptAccess="always" allowFullscreen="true" width="450" wmode="transparent" src="http://www.uzmantv.com/getswf/{$id}" /></object><div><div style="float:left;"><a target="_blank" href="http://www.uzmantv.com" id="uzmanlink{$id}"><img style="border:none" src="http://www.uzmantv.com/images/uzmantv.png" alt="UzmanTV" /></a>  </div><div style="padding-top:7px;"><a style="font-family:Verdana;font-size:12px;" target="_blank" href="http://www.uzmantv.com/*" id="*{$id}">*</a></div></div></div>
Embed HTML:
Code:
<div style="width:450px">
<object height="404" width="450" id="uzmanEmbedPlayer{$id}" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000">
<param value="http://www.uzmantv.com/getswf/{$id}" name="movie" />
<param value="Transparent" name="WMode" /><param value="true" name="allowFullscreen" />
<param value="all" name="allowNetworking" /><param value="always" name="allowScriptAccess" />
<embed type="application/x-shockwave-flash" name="uzmanPlayer{$id}" height="404" allowNetworking="all" allowScriptAccess="always" allowFullscreen="true" width="450" wmode="transparent" src="http://www.uzmantv.com/getswf/{$id}" />
</object>
<div>
<div style="float:left;"><a target="_blank" href="http://www.uzmantv.com" id="uzmanlink{$id}"><img style="border:none" src="http://www.uzmantv.com/images/uzmantv.png" alt="UzmanTV" /></a> </div>
<div style="padding-top:7px;"><a style="font-family:Verdana;font-size:12px;" target="_blank" href="http://www.uzmantv.com/" id="konulink{$id}">*</a></div>
</div>
</div>
________________________________________________________________
Usage:
For your example video to work you would have to grab the embed code
Untitled-4.png

Code:
<div style="width:450px"><object height="404" width="450" id="uzmanEmbedPlayerZTMrP0RDLgd" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"><param value="http://www.uzmantv.com/getswf/ZTMrP0RDLgd" name="movie" /><param value="Transparent" name="WMode" /><param value="true" name="allowFullscreen" /><param value="all" name="allowNetworking" /><param value="always" name="allowScriptAccess" /><embed type="application/x-shockwave-flash" name="uzmanPlayerZTMrP0RDLgd" height="404" allowNetworking="all" allowScriptAccess="always" allowFullscreen="true" width="450" wmode="transparent" src="http://www.uzmantv.com/getswf/ZTMrP0RDLgd" /></object><div><div style="float:left;"><a target="_blank" href="http://www.uzmantv.com" id="uzmanlinkZTMrP0RDLgd"><img style="border:none" src="http://www.uzmantv.com/images/uzmantv.png" alt="UzmanTV" /></a>  </div><div style="padding-top:7px;"><a style="font-family:Verdana;font-size:12px;" target="_blank" href="http://www.uzmantv.com/konu/muhabbet-kuslarini-taniyin" id="konulinkZTMrP0RDLgd">Muhabbet Kuşlarını Tanıyın</a></div></div></div>
and paste the entire embed code into media tag popup

http://xenxero.com/threads/uzman.23/
 

EQnoble

Well-known member
Yeah I think I can do that one too...gimme a lil bit...I need to stop at the gas station and exhale a few breaths and then I will be back very shortly... come up with a list of you can in the mean time....I'll bang a whole bunch of them out if I can tonight.
 

yavuz

Well-known member
Yeah I think I can do that one too...gimme a lil bit...I need to stop at the gas station and exhale a few breaths and then I will be back very shortly... come up with a list of you can in the mean time....I'll bang a whole bunch of them out if I can tonight.
Thanks a bunch EQnoble. You do that :D

I followed your instructions above but an error occurs that says (in turkish) "the embedd code is wrong"! What's that about! I even posted it on your demo site. Strange....
 

EQnoble

Well-known member
Well i figured out an interesting way to use traileraddict but it's not with the media tag...I am going to see if they (TA.com) have a problem with it before I post it. Ok I am going for that ride now :)
 

EQnoble

Well-known member
That is strange....i need to look at it with out apprehension...time for that quick ride that I keep on procrastinating about..lol brb then I will see what we can do about making these site's media into postables.

If I can't get them with the media code do you care about using a custom bbcode? I am pretty sure I can embed video from anywhere with custom bbcodes as long as they are not protected in a specialized way.
 

yavuz

Well-known member
Well i figured out an interesting way to use traileraddict but it's not with the media tag...I am going to see if they (TA.com) have a problem with it before I post it. Ok I am going for that ride now :)
Well traileraddict is letting people embedd trailers, I guess they don't have anything against it :D

I have a custom BB code for TA, made for KK's add-on. But it's not for everyone, you need to find the video ID, manually write the TAG.... Long way. It would much bettter with media embedding.
 

EQnoble

Well-known member
http://crackle.com - Like hulu, its like a free movie library where you can watch movies free and legally. They do have their own custom embed, however I want it to be where there is a BBode for it.
I will try this one at some point today. It has an interesting setup...odd actually. I'll figure it out. Just need to think about it a bit.

To those celebrating with me today.....FREEDOM FTW!!!!!!!!!!! :D
 

EQnoble

Well-known member
http://crackle.com - Like hulu, its like a free movie library where you can watch movies free and legally. They do have their own custom embed, however I want it to be where there is a BBode for it.
not yet...crackle does something very different that I have never seen. Taking a while to figure out how to get around it.
 

Kevin

Well-known member
Any luck with CNN? My attempts get an error message that the URL cannot be embedded. :oops:

Example URL:
Code:
http://www.cnn.com/video/#/video/bestoftv/2011/08/10/exp.tsr.sylvester.verizon.sabotage.cnn?hpt=hp_t2
My attempt...
Match URLS:
Code:
http://www.cnn.com/video/#/video/{$id}?hpt=hp_t2
Embed HTML:
Code:
<object
    width="416"
    height="374"
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    id="ep">
    <param name="allowfullscreen" value="true" />
    <param name="allowscriptaccess" value="always" />
    <param name="wmode" value="transparent" />
    <param name="movie" value="http://i.cdn.turner.com/cnn/.element/apps/cvp/3.0/swf/cnn_416x234_embed.swf?context=embed&videoId={$id}" />
    <param name="bgcolor" value="#000000" />
    <embed
          src="http://i.cdn.turner.com/cnn/.element/apps/cvp/3.0/swf/cnn_416x234_embed.swf?context=embed&videoId={$id}"
          type="application/x-shockwave-flash"
          bgcolor="#000000"
          allowfullscreen="true"
          allowscriptaccess="always"
          width="416"
          wmode="transparent"
          height="374">
    </embed>
</object>
 

EQnoble

Well-known member
Any luck with CNN? My attempts get an error message that the URL cannot be embedded. :oops:

Example URL:
Code:
http://www.cnn.com/video/#/video/bestoftv/2011/08/10/exp.tsr.sylvester.verizon.sabotage.cnn?hpt=hp_t2
My attempt...
Match URLS:
Code:
http://www.cnn.com/video/#/video/{$id}?hpt=hp_t2
Embed HTML:
Code:
<object
    width="416"
    height="374"
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    id="ep">
    <param name="allowfullscreen" value="true" />
    <param name="allowscriptaccess" value="always" />
    <param name="wmode" value="transparent" />
    <param name="movie" value="http://i.cdn.turner.com/cnn/.element/apps/cvp/3.0/swf/cnn_416x234_embed.swf?context=embed&videoId={$id}" />
    <param name="bgcolor" value="#000000" />
    <embed
          src="http://i.cdn.turner.com/cnn/.element/apps/cvp/3.0/swf/cnn_416x234_embed.swf?context=embed&videoId={$id}"
          type="application/x-shockwave-flash"
          bgcolor="#000000"
          allowfullscreen="true"
          allowscriptaccess="always"
          width="416"
          wmode="transparent"
          height="374">
    </embed>
</object>
Well i got it working although I cannot get it where you use the bbcode button... you must manually type the media=cnn]id[/cnn

I don't know if this works for you or not.... http://xenxero.com/threads/cnn.50/
 

ChemicalKicks

Well-known member
This might be a silly question but if you're wanting to embed from a site that doesn't appear to give out embed codes I'm guessing it's not possible to manually embed the video?
 

Kevin

Well-known member
This might be a silly question but if you're wanting to embed from a site that doesn't appear to give out embed codes I'm guessing it's not possible to manually embed the video?
Depends on how they embed the video on their own pages. Often you can do a 'view source' to see how they are embedding the video for display on their own site and work from there. The big thing is finding how the embedded video on the page relates to the URL of the page being displayed so that there is something to associate the two when you go to use the video code to give it an ID.
 
Top