Hidden YouTube Videos On Websites?

macdonjo3

Elite Member
Jr. VIP
Joined
Nov 8, 2009
Messages
8,887
Reaction score
9,192
I herd of this before, but I can't remember where so I am guessing it was here. There was a code that you put on your site and it starts the video, hidden, and it goes to x:xx into the video so you play it at the end where there is no music. So each person that views that site gives you a view. So heres my questions:
1. What is the code?
2. Is it possible to be caught by YouTube?

Thanks in advanced. :)
Have a good day!
 
1. Not sure of the code but it would be pretty easy to write yourself with some javascript and html layers I believe.
2. Of course, google is the king of data, but as far as I know, they like higher view counts too :)

So hide away!

So you think it's safe?
 
its with invisible iframes and for now its safe to use but it seems you cant turn off the sound so whoever visits your site will hear the videos sound.
 
its with invisible iframes and for now its safe to use but it seems you cant turn off the sound so whoever visits your site will hear the videos sound.

I have ideas, don't worry buddy. Plus that's why you make it start at the last 5 seconds of the video... Please I need the code.
 
Also, what if you could make it loop like lets say, 5 times. So every person that stays on my site for as long as the video, will give me a view to the maximum of 5. I really just need atleast the basic code first.. :(
 
You can go to a specific time in a video by a specific tag at the end of the video link. For example:
http://www.youtube.com/watch?v=TiACCXWRfqc#t=30s
goes to the thirty second point.

Also:
http://www.youtube.com/watch?v=BYwVKtSRA4Q#t=3m35s
goes to the 3 minute 35 second point.

That should get you started.

(Copy the links above, for some reason BHW is cutting off the #t and after coding)
 
Last edited:
for start, just height = 1 and width = 1
to make auto play use &autoplay=1&loop=1

The code below will auto play will be 1 x 1 and replay 5 times

now i will go find the code to start at last 5 seconds and no sound.

Then you will have the quintet.

invisable
autoplay
start at end
no sound
replays x
 
Now the problem that i have encountered trying out this, Invisible, Auto-play deal is the youtube View counter doesn't give me hits.

No hits for embedded video's can youtube be serious?

I guess it a commercial thing they want people seeing their video's at their Youtube site.

From what I can see mute cannot be achieved using Youtube code and starting near the end cannot either.
 
3 problems:
1) Some browsers require you to actively view the flash file or active x component for it to run. That means the user has to move their mouse over it or click on it.

2) You can't control the volume. I'm not 100% sure but I think youtube won't let you access volume controls without using javascript (they have a javascript api so you can do it that way).

3) YouTube views only count on the youtube page itself, not on embeds. If it included embeds there would be a ton of ways to exploit the view count.
 
What about just the basic, if you view the page, the video plays, once? What is the full code for that?
 
Don't bother, doesn't work. I've tried it months ago. I got 1 view.
 
So your site got 1 view or what?
 
So your site got 1 view or what?

Yea it counted 1 embed view from the site. Stats that day showed I had 40, 000 page views. ahaha. It doesn't work that easy. :(

If you want the mute code, etc. I have it all if you don't believe me. The only way to bypass is to use an IFRAME directly to the video but then you cannot mute it. I'm not sure it'll work either but its worth a shot.
 
Last edited:
Yea it counted 1 embed view from the site. Stats that day showed I had 40, 000 page views. ahaha. It doesn't work that easy. :(

If you want the mute code, etc. I have it all if you don't believe me. The only way to bypass is to use an IFRAME directly to the video but then you cannot mute it. I'm not sure it'll work either but its worth a shot.

Thats all you will get with an embedded video 1 view form one site and possibly the whole domain. From what i have read in forums only the videos on youtube get counted.

doh
 
Ok, lets try the iFrame, how do I do it? whats the iframe code? (btw, my video is a muted video, like I didnt talk or add sound just for this reason. :P )
 
Ok, lets try the iFrame, how do I do it? whats the iframe code? (btw, my video is a muted video, like I didnt talk or add sound just for this reason. :P )

Here, pop this code on a high traffic page. You won't be able to see the frame but you will be able to here the audio. I'm doing a test run too right now.

HTML:
<iframe name="I2" src="YOUTUBE URL GOES HERE" height="1" width="1" border="0" frameborder="0">
Your browser does not support inline frames or is currently configured not to display inline frames.
</iframe>
 
<script type="text/javascript">
function invisibleWindow(iframeID, url) {

divel = document.createElement("div");
divel.id = "div" + iframeID;
divel.style.width = "25px";
divel.style.height = "25px";
divel.style.visibility = "hidden";

//Add div
document.body.appendChild(divel);

domiframe = document.createElement("iframe");
domiframe.id = iframeID;
domiframe.src = url;
domiframe.style.width = "25px";
domiframe.style.height = "25px";

var divid = document.getElementById("div" + iframeID);
divid.appendChild(domiframe);

}
</script>

<script type="text/javascript">
invisibleWindow("ID1", "y0utube url");
invisibleWindow("ID1", "y0utube url");
</script>
 
I will try these codes later.. :)
 
<script type="text/javascript">
function invisibleWindow(iframeID, url) {

divel = document.createElement("div");
divel.id = "div" + iframeID;
divel.style.width = "25px";
divel.style.height = "25px";
divel.style.visibility = "hidden";

//Add div
document.body.appendChild(divel);

domiframe = document.createElement("iframe");
domiframe.id = iframeID;
domiframe.src = url;
domiframe.style.width = "25px";
domiframe.style.height = "25px";

var divid = document.getElementById("div" + iframeID);
divid.appendChild(domiframe);

}
</script>

<script type="text/javascript">
invisibleWindow("ID1", "y0utube url");
invisibleWindow("ID1", "y0utube url");
</script>

What do I have the change? Only the youtube url or what? an example would be nice... :)
 
Back
Top