Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HLS has problem #403

Closed
foadabdollahi opened this issue Jan 11, 2024 · 13 comments
Closed

HLS has problem #403

foadabdollahi opened this issue Jan 11, 2024 · 13 comments

Comments

@foadabdollahi
Copy link

Hi again,

Something wrong is in my site after last update.
hls file was not play and show error "GET blob:https://nashrin.com/068f6a76-2c9a-4a3d-b69c-f786a1c39fe0 net::ERR_FILE_NOT_FOUND" but "https://vfd.nashrin.com/0r56/playlist.m3u8" was exist and it worked before update?
do you have any idea about this issue?

you can check ir on this page https://nashrin.com/v/0r56

@foadabdollahi
Copy link
Author

it is weird. when i remove VAST ads it work fine

@rafa8626
Copy link
Member

@foadabdollahi my changed didn’t touch anything related to rendering HLS or anything like that. Make sure that the HLS library is being called, which I assume yes

@foadabdollahi
Copy link
Author

Yes i pretty sure about it

@rafa8626
Copy link
Member

@foadabdollahi I tested it without ads and worked for me

@foadabdollahi
Copy link
Author

@rafa8626 Please test it with ads config.
in issue #399 I sent player config with ads.

@rafa8626
Copy link
Member

@foadabdollahi I tested the configuration with and without ads and, although it took a little bit for the ad to play, both worked just fine for me. I was able to see the HLS streaming as expected.

@foadabdollahi
Copy link
Author

@rafa8626 Thanks so much

I think it was for google sdk.
Google ban some feature in Iran and it can make this issue.

I will try find some solution to use an opensource Vast-ads povider.

@foadabdollahi
Copy link
Author

@rafa8626 i'm sorry. i know you response about this issue. but i found some new evidence.
when i set preload="auto" or autoplay it work fine
but when preload is 'metadata' it got error.
and when preload is 'none ' it has time base (if i click on play button less than 2s it work fine. and after 2s it has error ). i think before 2s ads component was not load.

and when i set preload='none' without ads. hls not work and has error : ncaught (in promise) TypeError: Cannot read properties of undefined (reading 'play') at Media.eval (media.js:106:109)

i think issue come from metadata

@rafa8626 rafa8626 reopened this Jan 12, 2024
@rafa8626
Copy link
Member

@foadabdollahi you are right: the none preload makes it fail, but not metadata. I applied a patch in the master branch, so if you could test it and let me know if it worked for you, I'd appreciate it. Thanks for noticing this

@foadabdollahi
Copy link
Author

foadabdollahi commented Jan 13, 2024

@rafa8626 Thanks . The issue about none was fix.
but the ads and hls has issue yet.

i saw
other think about rendering

without ads config: (Correct)
image

with ads config: (Error not found resource)
image

and maybe it came from nextjs 14.

maybe it can help to find issue!

@rafa8626 rafa8626 reopened this Jan 13, 2024
@rafa8626
Copy link
Member

rafa8626 commented Jan 13, 2024

@foadabdollahi I tested your configuration using Ads with a different VAST URL and worked as expected; test it with https://pubads.g.doubleclick.net/gampad/ads?iu=/21775744923/external/single_ad_samples&sz=640x480&cust_params=sample_ct%3Dlinear&ciu_szs=300x250%2C728x90&gdfp_req=1&output=vast&unviewed_position_start=1&env=vp&impl=s&correlator=; if it works for you, it means that your VAST may be the problem. At least on my side when I try to check the content of the XML I see just a link, and when I try to see the link, I get a 403 error
Screenshot 2024-01-13 at 7 14 58 AM

@foadabdollahi
Copy link
Author

@rafa8626 Thank you so much.

Yes you are right. it work with your vast. I will continue this issue with vast provider.

Best wishes

@rafa8626
Copy link
Member

@foadabdollahi sounds good; thanks for reporting this! I'll release the new version today

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants