SCF Youtube video link maker
-
Here's a very simple bookmarklet that will pop-up a link to a Youtube video formatted for this forum.
Update: Easy install here.
In Firefox, create a new Bookmark, right-click it and select Properties.
Copy this following code and paste it into the Location field of the Bookmark.
javascript:if(yt.config_.ALLOW_EMBED){var w=window.open("","Link","width=650,height=150");w.document.write('<textarea id=l rows=5 cols=75>[url=http://www.youtube.com/watch?v='+yt.config_.VIDEO_ID+']'+document.title+'[/url]\nby '+yt.config_.VIDEO_USERNAME+'\n\n[flash=480,385]'+yt.config_.EMBED_URL+'[/flash]</textarea>');w.document.write('<br/><button onclick=window.close();>Close</button>');w.document.write('<script>document.getElementById("l").select();</script>');void(w.document.close())}else{alert("Enbedding Not Allowed.")};
Press Save. Then, go to Youtube, find a video and press the bookmarklet.
Copy the text, and paste into your post on SCF.
This is quite rudimentary, but could be improved quite a bit if someone were interested.
- Now detects if a video is not embed-able.
-
Jim,
That's a brilliant feature, thanks
Anytime i want to upload a video here i end up search for Simon's tutorial and then fudging around till i get it right so this reduces to workload on my depleted braincell count
Nice gesture
-
Is this only Firefox? or will it also work with IE?
-
@solo said:
Is this only Firefox? or will it also work with IE?
It appears to work in IE 8.
Edit - The pop-up workd, but I am not able to select the link as I can in FF.
-
@unknownuser said:
That's a brilliant feature, thanks
Sure. I just can never remember how to do it either!
I figure I just quadrupled the number of videos that get posted.
I'm not sure about all the Youtube magic url's or forum tricks, so if the pop-up could be better, let me know and I'll modify it.
-
So I changed this to use a pop-up window, which should be more compatible but you may need to change your pop-up blocker settings.
-
Great Jim!!
I tried this with Google Chrome and is working too!!
Thank you,
Daniel S -
Thanks.
Now detects if embedding has been disabled.
-
Thanks a bunch Jim! That's slick
@jim said:
...I figure I just quadrupled the number of videos that get posted.
lets hope so, I hate clicking thru to Youtube
-
A test.
YouTube - A Late Roman Basilica
by Gaieus[flash=480,385:9u4f110q]http://www.youtube.com/v/QxiFQtdR344&hl=en_US&fs=1[/flash:9u4f110q]
-
Testing:
[flash=480,385:27bumeuf]http://www.youtube.com/v/lvvcRdwNhGM[/flash:27bumeuf]
[flash=480,385:27bumeuf]http://www.youtube.com/v/T5xtRdLOopU[/flash:27bumeuf]
[flash=480,385:27bumeuf]http://www.youtube.com/v/SvNjsOl1Ag0[/flash:27bumeuf]
Yes, is working.
Daniel S
-
Thanks a lot! It works perfectly!
-
You're welcome. I posted an easy drag and drop installation here. Just drag the link to your browser bookmark toolbar.
-
Jim
Forgive my complete ineptness at this but I just dragged the "button" onto my google toolbar and then went to youtube and picked a random video. Hit your "button - SCFtube" and nothing happened. What am I doing wrong - rest assured it is me!!
-
I don't know - what browser is it?
-
pretty cool! thanks
have you guys seen this guy "fluffee"? he's a hoot.
YouTube - Teacher Strips Student.
[flash=480,385:1otc5ag7]http://www.youtube.com/v/5bhPaFLylyM&hl=en_US&fs=1[/flash:1otc5ag7]PS, will this work for other forums too?
-
Ha!
YouTube - stupid people
[flash=480,385:1mtqski5]http://www.youtube.com/v/MCZl7I9n4vU&hl=hu_HU&fs=1[/flash:1mtqski5]Edit; some of te scenes were not really "stupid" but rather sad.
Anyways...And of course, thanks Jim! (Works perfectly on my FF)
-
Excellent!
-
it's me or we can't have the original Youtube site on "Double click" on the video on the SCF forum post?
-
@unknownuser said:
it's me or we can't have the original Youtube site on "Double click" on the video on the SCF forum post?
It has never worked for me, which is why I put it in my pop-up.
Advertisement