pirattv video bb code

Support for PhpBB3 BBCodes. Post here to get help with any BBCode related issue here
There is no support here! Only Read Access!
Forum rules
In order the get any support, you will have to do following:
1. Use a describing title!
2. Describe exactly what it is you want.
3. Tell us what version of phpBB3 you are currently using.
Else your topic may be ignored or locked!
Locked
corny
BBCoder II
BBCoder II
Posts: 10
Joined: 05 Mar 2010, 07:59

pirattv video bb code

Post by corny »

hello i'm looking for some help trying to work out how to get pirattv videos to work

i am trying to use this

Code: Select all

[pirattv]{IDENTIFIER}[/pirattv]

Code: Select all

<div id="drdk-pirat-klip-{IDENTIFIER}"><a href="http://www.dr.dk/pirattv/klip/{IDENTIFIER}">Se klippet "{IDENTIFIER}" på Pirat TV</a></div>
<script type="text/javascript" src="http://www.dr.dk/pirattv/embed-js/{IDENTIFIER}"></script>
the embed link is here http://www.dr.dk/pirattv/klip/interview ... -frontmand

Code: Select all

<div id="drdk-pirat-klip-interview-med-type-o-negative-frontmand"><a href="http://www.dr.dk/pirattv/klip/interview-med-type-o-negative-frontmand/">Se klippet "Interview med Type O Negative-frontmand" på Pirat TV</a></div>
        <script type="text/javascript" src="http://www.dr.dk/pirattv/embed-js/interview-med-type-o-negative-frontmand/"></script>
i got this to show as a clickable image but it doesn't work as the other video bb codes do so any help would be great
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: pirattv video bb code

Post by Stoker »

TRy this:

BBCode:

Code: Select all

[pirattv]{INTTEXT}[/pirattv]
HTML:

Code: Select all

<script type="text/javascript" src="http://www.dr.dk/pirattv/embed-js/{INTTEXT}/"></script>
Example:

Code: Select all

[pirattv]interview-med-type-o-negative-frontmand[/pirattv]
You need to use the last part of the link.
Board rules! No PM support
corny
BBCoder II
BBCoder II
Posts: 10
Joined: 05 Mar 2010, 07:59

Re: pirattv video bb code

Post by corny »

it doesn't work for me :/
Last edited by corny on 24 Apr 2010, 07:06, edited 1 time in total.
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: pirattv video bb code

Post by Stoker »

I have just testet and you are right.
BTW, its not the player you are embidding with that code. Its just an images with a link to the site.

Looking at the source code you will find this:

Code: Select all

<object id="player_player" type="application/x-shockwave-flash" data="http://www.dr.dk/ung/flash/uplayer/uplayer.swf" height="348" width="620"><param name="quality" value="high"><param name="allowScriptAccess" value="sameDomain"><param name="wMode" value="transparent"><param name="swLiveConnect" value="true"><param name="bgcolor" value="#000000"><param name="allowFullScreen" value="true"><param name="flashVars" value="data=%7B%22playlist%22%3A%5B%7B%22id%22%3A3429%2C%22mediaFile%22%3A%22rtmp%3A%2F%2Fvod.dr.dk%2Fpirat%2Fmp4%3Avideo%2Ftilt_bmj.mp4%22%2C%22firstframeImage%22%3A%22http%3A%2F%2Fwww.dr.dk%2Fpirattv%2Fresources%2Ffirstframes%2Ftilt_bmj.jpg%22%7D%5D%2C%22modules%22%3A%5B%7B%22className%22%3A%22JavaScript%22%7D%2C%7B%22className%22%3A%22KeyboardShortcuts%22%7D%2C%7B%22className%22%3A%22PiratControl%22%2C%22parameters%22%3A%7B%22playlist%22%3Atrue%2C%22fullscreen%22%3Atrue%2C%22soundSlider%22%3Atrue%7D%7D%2C%7B%22className%22%3A%22Persistent%22%2C%22parameters%22%3A%7B%22pause%22%3Atrue%2C%22volume%22%3Atrue%7D%7D%5D%2C%22height%22%3A%22348%22%2C%22width%22%3A%22620%22%2C%22version%22%3A%229.0.114%22%2C%22smoothing%22%3Atrue%2C%22swf%22%3A%22http%3A%2F%2Fwww.dr.dk%2Fung%2Fflash%2Fuplayer%2Fuplayer.swf%22%2C%22autoplay%22%3Atrue%2C%22useTransitions%22%3Afalse%2C%22loopPlaylist%22%3Afalse%7D&onLoad=Swiff.CallBacks.Swiff_1272085445475.onLoad&onData=Swiff.CallBacks.Swiff_1272085445475.onData&onSkip=Swiff.CallBacks.Swiff_1272085445475.onSkip&onStateChange=Swiff.CallBacks.Swiff_1272085445475.onStateChange&onComplete=Swiff.CallBacks.Swiff_1272085445475.onComplete&onModuleEvent=Swiff.CallBacks.Swiff_1272085445475.onModuleEvent"></object>
Which means that it is not easy to embed those videos.
Board rules! No PM support
corny
BBCoder II
BBCoder II
Posts: 10
Joined: 05 Mar 2010, 07:59

Re: pirattv video bb code

Post by corny »

and yet the hover says embedding is allowed lol

thanks for looking at it anyway :)
Last edited by corny on 24 Apr 2010, 07:09, edited 1 time in total.
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: pirattv video bb code

Post by Stoker »

Maybe cisco can figure it out.
He is a master with these video bbcodes
Board rules! No PM support
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: pirattv video bb code

Post by cisco007 »

unfortunately guys I was on this since about 2:30AM trying to get it to work, and nothing, i have gotten it to work like Stoker says, all you get is a picture as a link to the actual video!

i can get this link from the source rtmp://vod.dr.dk/pirat/mp4:video/tilt_bmj.mp4, but can't get it to work! :(
corny
BBCoder II
BBCoder II
Posts: 10
Joined: 05 Mar 2010, 07:59

Re: pirattv video bb code

Post by corny »

ok guys, thanks for trying :)
Torrance
BBCoder I
BBCoder I
Posts: 1
Joined: 07 Aug 2010, 23:41

Re: pirattv video bb code

Post by Torrance »

This should be the url to the file you need. Hope it still helps you even you asked months ago!

Code: Select all

http://downol.dr.dk/download/pirattv/video/tilt_bmj.mp4
Regards! :)
Locked