Videoembed

By Firtina Last update Feb 11, 2009 — Installed 2,966,866 times.

Post doesn't exist

Feature requests here

in
Subscribe to Feature requests here 22 posts, 14 voices



Firtina Script's Author

Please post your feature requests in this topic.

 
mattymatt User

I've noticed that on pages that have links to tons of videos -- like, in the neighborhood of four of five dozen or more, as some blogs are prone to have -- the page can get pretty chuggy. It's probably because the browser is trying to embed dozens and dozens of videos, and it's putting a strain on the computer's resources.

A way around that might be to create two separate Videoembed scripts; a "Videoembed Unlimited" for power-users that embeds all of the videos; and a "Videoembed-20" for older systems that stops once it's reached twenty on a page.

 
Firtina Script's Author

I will check this out

 
Firtina Script's Author

I just fixed this problem.

 
jamisonf Scriptwright

Is there a way to limit the script to on apply itself once per video, on collegehumor.com/videos i get four light bulbs which throws the page out of whack... ive been using a second script to remove the div's that link to to videos so they show less but its a lot of work.

 
Firtina Script's Author

Hmm the userscript shouldn't work on collegehumor.com domain...
Because on such domains the videos are linked many times, etc.
Well, I will take a look when I can.

 
jamisonf Scriptwright

Ive actually been using the lightbox option so it doesn't require loading a new page to view a video basically every video when clicked pops into the lightbox, i understand this use is not what this particular script is made for although it does it great besides the fact that it inserts the lightbulb for every single link, throwing the page out of whack... this is a big time saver on say youtube search results, etc, how hard would it be to tweak it to where it would only insert once per video url/id ?

 
jfty.009260 User

If there's a Videoembed, why shouldn't there be an Imageembed? Instead of just videos, make the script be able to place images, as well, inline.

 
Psychederic User

JUst a suggestion,

Could be great and simple if video embedded script can embedded also swf, avi , mpg, ogg, and other video files.

Well why not ? And if you really find this idea stupid, let say it could be usefull, and maybe you can create a checkbox in the options to enable/disable it.

 
Null man Scriptwright

@Psychederic and @jfty.009260 Not a bad ideas. I don't think this code is built for that, but a derived form of it might allow that. I may look into it later.

 
Psychederic User

Videoembed : Web 3.0

You know what, i think this script, and the concept is great,

Do you understand the potential ?

if the code could work on any website, and i mean that it is integrate in pages, then that mean less database memory, less cpu, less overall ressources used ( in server side, the ressources are somehow shared with the visitor why not ?).

And in a way, the page is loaded faster.

( if there is only one or two video per page or article if it is a blog, and if choose a few video site : the script/concept should work on any computer)

First thing to do :
Make a new branch,
Change one or two thing in the code in order to make it run on page load.
Internet explorer compatibility (http://www.gm4ie.com/ i didn't check)

I think you can possibly post the code on google ajax api ( in that case the script could be included on page and it will download the script from google ....)

I am using on old version of videoembed on my website, and that rocks !

 
Psychederic User

This is web 3.0, "semantic" integration of data from other site.

You can extend the concept to images, mp3... music information, geoposition Map (google map?), and maybe some "keyword/tag" in pages corresponding to wikipedia. ( not so many site uses rdf files, semantic definition for their sites, and I don't think it is the best way, because it means a lot of work for the "webmasters /devellopers").

The web 3.0 should be done automatically, and what has been donne with videoembed is a good way to begin.

Maybe you can think about a way of putting informations on links ( a second "href"/"src" that can be used with the script ) or even "semantic informations", directly on links for instance :

I suggest you to let the choice of a less agressive way of putting code in pages, maybe in a

that appears "onmouseover".

 
Psychederic User

Maybe you can think about a way of putting informations on links ( a second "href"/"src" that can be used with the script ) or even "semantic informations", directly on links for instance :

a href="http://www.youtube.com/watch?v=xMVTKOoy1uk" tag="Prodigy - Omen"
embedmap="http://maps.google.com/maps?f=q&source=s_q&abau..."
embedmusic="http://basementbeatz.files.wordpress.com/2009/0..."
embedwiki="http://en.wikipedia.org/wiki/The_Prodigy"
embedimage="http://upload.wikimedia.org/wikipedia/commons/d..."

 
Firtina Script's Author

Great stuff there Psychederic and the others.
After updating VE to the latest suggestions / bug reports, I will work on "other 'web 3.0' stuff" as well.

 
bmn Scriptwright

It would be nice if you could have a filter to turn it off from working on some pages. For example, I have the Twitter search results at Google.com script installed and when a video is linked that script is broken. Or at Reddit.com I may not want the videos embedded.

Would this be possible?

 
Soulous User
FirefoxWindows

I think something helpful, especially on pages with lots of videos, would be a small tag next to the video URL that would only show that video when clicked. I'm pretty sure this is possible as I have seen it in other scripts.

 
pilofoli User
FirefoxWindows

I second Soulous' idea.

EDIT: Ow, I just looked in the options. You can do that if you change the mode from "auto" to one of the other two. Sorry...

 
spiralout987 Scriptwright
FirefoxWindows

Something that would be helpful is if the script scans URL's as the page changes, like in Twitter or Facebook.

 
Tlou User
FirefoxX11

Is it possible to add support for videos from www.viddler.com?

 
m101 User
FirefoxWindows

can you add support for the most popular sites with gaming videos for counterstrike? (most popular competitive game by far)
www.sk-gaming.com
they have an embeddable player so it should be easy.

 
Bloopy User
FirefoxWindows

A minor suggestion: change the name of the 'Google' mode to 'Manual'. I don't think Google even looks like that any more.

It would be great if we could use 'Auto' mode on some sites, and 'Manual' on others. I guess for now we could get that by installing a 2nd slightly modified version of the script.

 
Gzlle User
Firefox

Quick Fix here: update the exclude list to support https (secure) links of the original video sites.
Examples: Line 10 and Line 12 in videoembed.user.js (or where ever you choose to put the appropriate https lines)
// @exclude https://youtube.*
// @exclude https://*.youtube.*

I changed my own local script already because I only use YouTube, but there's LOTS of people that use this script who would benefit.
Thanks for making this btw!

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel