Extension talk:GoogleVideo
Any user names refer to users of that site, who are not necessarily users of MediaWiki.org (even if they share the same username).
Dashes Issues
editIt seems some Google videos have a '-' in the URL to work. I feel this is an inconsistency that Google Video developers have put in so maybe its something beyond your control. What I suggest is having the option to allow the Editor to put in the whole Google URL, and then you can strip the right DocID from the URL and use that in your code as the DocID which will work. This will work for all cases then.
Without Dash
editNot working:
- <googlevideo>1785995542790678132</googlevideo>
Working:
- <googlevideo>1504171818545745682</googlevideo>
With Dash
editWorking:
- <googlevideo>-1785995542790678132</googlevideo>
Not working:
- <googlevideo>-1504171818545745682</googlevideo>
--Matt57 15:14, 28 October 2006 (UTC)
The answer
editThe DocID is a number which could be positive or negative. -1785995542790678132 is different from 1785995542790678132. One works the other doesn't. That's all :-) --Iubito 05:18, 30 October 2006 (UTC)
New extensions for Windows Media Player and MySpace videos ?
editI suppose it wouldnt be hard to make extensions for Windows Media Player and My Space Videos too.
Windows Media player:
<OBJECT id="VIDEO" width="320" height="240" style="position:absolute; left:0;top:0;" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject"> <PARAM NAME="URL" VALUE="your file or url"> <PARAM NAME="SendPlayStateChangeEvents" VALUE="True"> <PARAM NAME="AutoStart" VALUE="True"> <PARAM name="uiMode" value="none"> <PARAM name="PlayCount" value="9999"> </OBJECT>
Myspace:
<embed src="http://lads.myspace.com/videos/vplayer.swf" flashvars="m=1310247292&type=video" type="application/x-shockwave-flash" width="430" height="346"></embed>
Could someone make these please? Thanks!
--Matt57 22:30, 29 October 2006 (UTC)
Answer
editI'm OK for MySpace (I don't know it, but why not?)
But I don't think media player is a good idea. MP is not installed on all platforms, some format use codec not available on all platforms. My friends on mac don't read the .WMV (Windows Media Video) files. But GoogleVideo accept WMV files, upload your files to google and use Google Video extension, that's better. GoogleVideo flash program send to user the best format depending on his system, screen size, probably download bandwith...
Note that the above conversation may have been edited or added to since the transfer. If in doubt, check the edit history.
Google Video Widget
editDon't know if it's a good idea to post it here, but I developed Google Video MediaWiki Widget that essentially does exactly the same as this extension but uses Widgets extension. --Sergey Chernyshev 06:22, 1 June 2008 (UTC)