Page 1 of 1
pirattv video bb code
Posted: 24 Apr 2010, 05:18
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
<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
Re: pirattv video bb code
Posted: 24 Apr 2010, 06:31
by Stoker
TRy this:
BBCode:
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.
Re: pirattv video bb code
Posted: 24 Apr 2010, 06:59
by corny
it doesn't work for me :/
Re: pirattv video bb code
Posted: 24 Apr 2010, 07:07
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.
Re: pirattv video bb code
Posted: 24 Apr 2010, 07:08
by corny
and yet the hover says embedding is allowed lol
thanks for looking at it anyway
Re: pirattv video bb code
Posted: 24 Apr 2010, 11:17
by Stoker
Maybe cisco can figure it out.
He is a master with these video bbcodes
Re: pirattv video bb code
Posted: 24 Apr 2010, 17:49
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!
Re: pirattv video bb code
Posted: 24 Apr 2010, 19:42
by corny
ok guys, thanks for trying
Re: pirattv video bb code
Posted: 07 Aug 2010, 23:43
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!