Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin
Ask YC: What is the url of this clip? (to annotate Doug Crockford's Javascript video)
1 point by juwo on July 8, 2008 | hide | past | favorite
(playing Doug Crockford's Javascript videos in FLV Player).

I wrote an annotation tool and am using Jeroen's FLVPlayer to play clips so they can be annotated. I realized with dismay that I cannot extract the url of the video. Can you please tell me how to extract the url from the embed tag?

http://video.yahoo.com/watch/111585/1027823

<object width="512" height="323"><param name="movie" value=" http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.7.1" /><param name="allowFullScreen" value="true" /><param name="bgcolor" value="#000000" /><param name="flashVars" value="id=1027823&vid=111585&lang=en-us&intl=us&thumbUrl= http%3A//us.i1.yimg.com/us.yimg.com/i/us/sch/cn/v/v0/w327/111585_320_240.jpeg&embed=1" /> <embed src="http://d.yimg.com/static.video.yahoo.com/yep/YV_YEP.swf?ver=2.2.7.1" type="application/x-shockwave-flash" width="512" height="323" allowFullScreen="true" bgcolor="#000000" flashVars="id=1027823&vid=111585&lang=en-us&intl=us&thumbUrl= http%3A//us.i1.yimg.com/us.yimg.com/i/us/sch/cn/v/v0/w327/111585_320_240.jpeg&embed=1" > </embed></object>

thanks, Anil



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: