Editing google embed codes
I came across a google video that had no embed code and after going through the source I got this:
<div class="mediaHolder">
<a rel="nofollow" style="left: 730px ! important; top: 0px ! important;" title="Click here to block this object with Adblock Plus" class="abp-objtab-05720776422757138 visible ontop" href="http://video.google.com/googleplayer.swf?docId=7142228799109763496&hl=en"><embed style="width: 730px; height: 400px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=7142228799109763496&hl=en" flashvars="autoPlay=true">
</div>
which I edited down to this:
<embed style="width: 540px; height: 295px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=7142228799109763496&hl=en">
which worked:
http://www.videosift.com/video/Why-Dogs-Smile-and-Chimpanzees-Cry
but I wanted to add the fullscreen button to it. Is that possible?
Obviously I'm not even formatting this sift talk post right because it is adding tags etc to the code I'm pasting here.
<div class="mediaHolder">
<a rel="nofollow" style="left: 730px ! important; top: 0px ! important;" title="Click here to block this object with Adblock Plus" class="abp-objtab-05720776422757138 visible ontop" href="http://video.google.com/googleplayer.swf?docId=7142228799109763496&hl=en"><embed style="width: 730px; height: 400px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=7142228799109763496&hl=en" flashvars="autoPlay=true">
</div>
which I edited down to this:
<embed style="width: 540px; height: 295px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=7142228799109763496&hl=en">
which worked:
http://www.videosift.com/video/Why-Dogs-Smile-and-Chimpanzees-Cry
but I wanted to add the fullscreen button to it. Is that possible?
Obviously I'm not even formatting this sift talk post right because it is adding tags etc to the code I'm pasting here.
5 Comments
Hmm, what I do when I find a Google video with no embed code is to copy the embed code of another Google video and then replace the video id
For example, take this video:
video.google.com/videoplay?docid=-6683620538297935255
it has an embed code, copy it and you get
<embed id="VideoPlayback" src="http://video.google.com/googleplayer.swf?docid=-6683620538297935255&hl=en&fs=true" style="width:400px;height:326px" allowFullScreen="true" allowScriptAccess="always" type="application/x-shockwave-flash">
now go to the video that has no embed code and copy video ID
for example, this one has no embed code option:
video.google.com/videoplay?docid=-8353978816589653188&hl=en
Copy the -8353978816589653188&hl part of the URL and replace it in the embed code
<embed id="VideoPlayback" src="http://video.google.com/googleplayer.swf?docid=-8353978816589653188&hl=en&fs=true" style="width:400px;height:326px" allowFullScreen="true" allowScriptAccess="always" type="application/x-shockwave-flash">
THANK YOU!
http://www.videosift.com/video/Why-Dogs-Smile-and-Chimpanzees-Cry
edit
weird double post
*discard
Discarding this post - discard requested by original submitter burdturgler.
Discuss...
Enable JavaScript to submit a comment.