How to use hidden iframe on website for YouTube views?

IndianGrad

Junior Member
Joined
May 13, 2011
Messages
156
Reaction score
31
Hello guys

I was trying to get views to a YouTube video just as you get for a webpage by loading it in a iframe, but the YouTube video didn't seem to load. I then tried it for a YOuTUbe channel and that again didn't help :(

The code I used was:

HTML:
<iframe src="http://youtu.be/xxxxxxx" width="0" height="0" frameborder="0"></iframe>

Am I missing something?

Note: I don't want to embed it and autoplay it since autoplay views there aren't counted.
 
I thought that the iframe method no longer worked with getting views?
 
i'm sure YT prevented this from working a LONG time ago. sorry buddy
 
Hello guys

I was trying to get views to a YouTube video just as you get for a webpage by loading it in a iframe, but the YouTube video didn't seem to load. I then tried it for a YOuTUbe channel and that again didn't help :(

The code I used was:

HTML:
<iframe src="http://youtu.be/xxxxxxx" width="0" height="0" frameborder="0"></iframe>
Am I missing something?

Note: I don't want to embed it and autoplay it since autoplay views there aren't counted.


Create 2 pages: a.htm & b.htm

a.htm code:

<IFRAME FRAMEBORDER=0 MARGINWIDTH=0 MARGINHEIGHT=0 SCROLLING=NO WIDTH=0 HEIGHT=0 SRC="http://yourwebsite.com/b.htm"></IFRAME>


b.htm code:

<META HTTP-EQUIV="Refresh" CONTENT="0; URL=http://yotube.url/watch?v=VIDEOSTRING">

-------
this will work for you:)
 
Last edited:
Ohk... Looks like I am pretty late to the party :(

Could you suggest any better use for my iframe traffic...
 
Ohk... Looks like I am pretty late to the party :(

Could you suggest any better use for my iframe traffic...

sure.. let me know how much traffic are you getting per day and what kind of traffic is it?
 
Create 2 pages: a.htm & b.htm

a.htm code:

<IFRAME FRAMEBORDER=0 MARGINWIDTH=0 MARGINHEIGHT=0 SCROLLING=NO WIDTH=0 HEIGHT=0 SRC="EDIT://yourwebsiteEDIT/b.htm"></IFRAME>


b.htm code:

<META HTTP-EQUIV="Refresh" CONTENT="0; URL=EDIT://yotube.url/watch?v=VIDEOSTRING">

-------
this will work for you:)

This doesn't work, at all. :(
 
you are doing something wrong, it does work, just tested it again
 
Can i get a link to the website you tested it on? The youtube page is 'loaded' but the video doesn't actually play.
 
Can i get a link to the website you tested it on? The youtube page is 'loaded' but the video doesn't actually play.


If its not working for you, use this script

Code:
<iframe class="youtube-player" type="text/html" width="640" height="385" src="http://you.tube.comwhatever/watch?v=aSa-lIrUhtI?fs=1&autoplay=1" frameborder="0">
</iframe>

<script type="text/javascript">
<!--
setTimeout('window.location.href="http://google.com"', 20000) /* 5 seconds */
//-->
after five seconds of viewing it will forward to google.com you can play with the time & url as you like.

Regards,
 
That's what im saying, --youtube doesn't allow iframes and hasn't for a while. If you can get what you're saying to actually work for you on a site, i'll be impressed.
 
The share embed code that youtube give you is a iframe code unless you check use old embed code, so that leads me to believe that iframes must work on youtube if they give you a iframe code?
 
The share embed code that youtube give you is a iframe code unless you check use old embed code, so that leads me to believe that iframes must work on youtube if they give you a iframe code?

That's code for embedding videos in which case autoplay won't count as views - so the hidden iframe would be useless.


That's what im saying, --youtube doesn't allow iframes and hasn't for a while. If you can get what you're saying to actually work for you on a site, i'll be impressed.

True. I can't get YouTube videos to work in the way suggested.
 
Thanks for this method. Got this working with my own twist. If you want to JV with me for this then send me $20000 through WU. PM me for details to send. Lol. this won't work anymore.
 
Simple iFrame is too easy to detect...

Also, maybe you should use the HTML5 version of YouTube videos player.
Some good things to do with this ;)

Beny
 
Back
Top