vollenhove / oohembed

Automatically exported from code.google.com/p/oohembed
Other
0 stars 0 forks source link

Support for dotSUB Video #11

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
DotSUB Sample - The Hangover Captioned Trailer

Initial Video Page Link
http://dotsub.com/view/10e3cb5e-96c7-4cfb-bcea-8ab11e04e090

Intermediate Conversion
http://dotsub.com/static/players/portalplayer.swf?
plugins=dotsub&uuid=10e3cb5e-96c7-4cfb-bcea-
8ab11e04e090&type=video&lang=eng

<object width="640" height="509"> 
<param name="movie" 
value="http://dotsub.com/static/players/portalplayer.swf?
plugins=dotsub&uuid=10e3cb5e-96c7-4cfb-bcea-
8ab11e04e090&type=video&lang=eng"></param> 
<param name="allowFullScreen" value="true"></param> 
<param name="allowscriptaccess" value="always"></param> 
<param name="stretching" value="fill"></param> 
<embed src="http://dotsub.com/static/players/portalplayer.swf?
plugins=dotsub&uuid=10e3cb5e-96c7-4cfb-bcea-
8ab11e04e090&type=video&lang=eng"
type="application/x-shockwave-flash" 
allowscriptaccess="always" 
allowfullscreen="true" 
width="640" 
height="509"/> 
</object> 

)

Expected Return Value:
{
    "version": "1.0",
    "type": "video",
    "width": 640,
    "height": 509,
    "title": "",
    "url": "http://dotsub.com/static/players/portalplayer.swf?
plugins=dotsub&uuid=10e3cb5e-96c7-4cfb-bcea-
8ab11e04e090&type=video&lang=eng",
    "author_name": "",
    "author_url": "",
    "provider_name": "dotSUB",
    "provider_url": "http://dotSUB.com/"
}

I added the intermediate steps, in case I was interpreting the spec wrong 
(particularly the url)

Original issue reported on code.google.com by billcres...@gmail.com on 2 Apr 2010 at 11:00

GoogleCodeExporter commented 8 years ago
Shoot - forgot to change the type of report from Defect to Enhancement - Sorry 
about 
that - it doesn't let me edit it.

Original comment by billcres...@gmail.com on 2 Apr 2010 at 11:02

GoogleCodeExporter commented 8 years ago
Added support. Please test if it works.

Original comment by deepak.s...@gmail.com on 17 Apr 2010 at 12:52

GoogleCodeExporter commented 8 years ago
Awesome! and works through the Umbraco plugin too~ 
http://captionwire.com/samples/
dotsub.aspx   (project file 
http://our.umbraco.org/projects/insert-video---youtube,-
vimeo)

Original comment by billcres...@gmail.com on 19 Apr 2010 at 1:08