Register for your free account! | Forgot your password?

Go Back   elitepvpers Coders Den Web Development
You last visited: Today at 12:08

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



iframe question

Discussion on iframe question within the Web Development forum part of the Coders Den category.

Reply
 
Old   #1
 
LepEatWorld's Avatar
 
elite*gold: 0
Join Date: Apr 2017
Posts: 78
Received Thanks: 27
iframe question

Is there a way to block all ads coming from an iframe? I would like to avoid using adblockers and dns, but when adjusting an iframe the video considers it as a sandbox and prevents playback. I was thinking of pulling the video source directly to avoid having to do any adblocking but I require an authenticated reffered address which I dont have to video stream to a tv without ads.
LepEatWorld is offline  
Old   #2
dotCom
 
Devsome's Avatar
 
elite*gold: 10077
The Black Market: 107/0/0
Join Date: Mar 2009
Posts: 17,305
Received Thanks: 4,900
Since you also want to avoid DNS filters and browser adblockers, your only real solution is what you already suspected: extract the video source directly.

Use a local proxy or yt-dlp to fetch the stream with the correct Referer header, strip the ad segments from the manifest (M3U8), and rebroadcast it to your TV.
Devsome is offline  
Old   #3
 
LepEatWorld's Avatar
 
elite*gold: 0
Join Date: Apr 2017
Posts: 78
Received Thanks: 27
Quote:
Originally Posted by Devsome View Post
Since you also want to avoid DNS filters and browser adblockers, your only real solution is what you already suspected: extract the video source directly.

Use a local proxy or yt-dlp to fetch the stream with the correct Referer header, strip the ad segments from the manifest (M3U8), and rebroadcast it to your TV.
Thanks, tried the proxy method, but since Im running it from my server for family and friends, it was draining a lot of data, not sure if I proxied it correctly. My server was handling everything based on the github source I was using. Not familiar with proxies so I used a open source one that also didn't have compatibility with iPhones.

Today I might try the proxy again but maybe target the main website to handle ads, but keep the m3u8 files out of the proxy so it takes in the load of the initial website and handles all ad blocking, but doesn't deal with the load of the video itself.

I have not tried yt-dlp yet, but I will try if all fails. I also tried extracting the video content link to the user, but it depends on the server of that video that works best, so all I can realistically do is select the default server and not the one that runs best, so that project was a no go.

For reference, the videos im trying to directly remove ads from are: https://vidcore.net/movie/1198994 as an example.

Trying my best to get movies and shows running adless on tv and phones.
LepEatWorld is offline  
Old   #4
dotCom
 
Devsome's Avatar
 
elite*gold: 10077
The Black Market: 107/0/0
Join Date: Mar 2009
Posts: 17,305
Received Thanks: 4,900
Quote:
Originally Posted by LepEatWorld View Post
Thanks, tried the proxy method, but since Im running it from my server for family and friends, it was draining a lot of data, not sure if I proxied it correctly. My server was handling everything based on the github source I was using. Not familiar with proxies so I used a open source one that also didn't have compatibility with iPhones.

Today I might try the proxy again but maybe target the main website to handle ads, but keep the m3u8 files out of the proxy so it takes in the load of the initial website and handles all ad blocking, but doesn't deal with the load of the video itself.

I have not tried yt-dlp yet, but I will try if all fails. I also tried extracting the video content link to the user, but it depends on the server of that video that works best, so all I can realistically do is select the default server and not the one that runs best, so that project was a no go.

For reference, the videos im trying to directly remove ads from are: as an example.

Trying my best to get movies and shows running adless on tv and phones.
You can try the if you want adless on tv and phones in your same network.
Devsome is offline  
Reply


Similar Threads Similar Threads
iframe problem
06/26/2010 - General Coding - 3 Replies
Ich hab mir gestern mal mit Photoshop eine Homepage erstellt, ich weis, ist nicht perfekt war auch so ziehmlich das erste mal. Nun wollte ich zum ueben das ganze natürlich auch noch coden. Nur habe ich das Problem, sofern es ein Problem ist das ich mit "iframe" arbeite. Da der content Bereich nunmal ein Bild ist. http://img683.imageshack.us/img683/5049/unbenannt gn.jpg Nur habe ich den ganzen Bereich dann umrahmt und das sieht nicht wirklich gut aus. Gibt es da noch andere...
Bessere Methode des iframe ?
02/03/2010 - General Coding - 3 Replies
Hey leute ... Ich habe eine Seite erstellt da wo ich was stehen haben will, ist eine Textur und ich will das eine Schrift auf der Textur ist mit iframe bekomm ich einen Hintergrund mit einer Farbe ich will aber das zB News.html auf die Textur schreibt... Wie kann ich es machen? Gibt es eine bessere Methode im html die leicht ist ?



All times are GMT +2. The time now is 12:08.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.