Help insert to the pwsdashboard m3u8 video stream from webcam

Your visitors do not pay the owner of the copyrighted material. Neither do you.

Therefor you can not use / include / iframe protected ( = valuable) movies / webcams from someone else on your website.

If you try to do that you can use the inspect function of your browser to check the “hidden” error-messages.
Most of the time they are similar to “Not allowed to run in an iframe”

Wim

OK, so I have to ask site owner permission for using webcam in popup.
While if I simply want to open it in another window or tab, in normal mode by clicking on the webcam block image, which command should I use instead of “iframe”?
Should I use a command like "WebCam?
Thanks.

I try to understand what you want

  1. Either you want a link in the bottom of a webcam block to go to another website.

But that is not possible, this feature was removed on user request.

All block-bottom-links should remain inside the dashboard environment.
Currently, when using external links in a block footer, the link is executed in the same tab as the dashboard itself.
So the visitor has to use the “back-arrow” in the browser to see your dashboard again.

  1. Or you have an image in the webcam block and when clicked it should go to another website

You should adapt the webcam block.
As an example I use webcam3_c_block.php|01|2020-12-02|

Change the line 5 to use your image
$webcam_img = ‘./img/whatever.jpg’; // demo value, replace with your link

Change line 7 to not use a popup when this image is clicked
$click_large = ‘xxxx’; // click in the box will popup a large image

Change line 65 to
else { echo ‘’.PHP_EOL;}

Wim

Ok it works, thanks, yes that’s what I meant.
I wrote webcam managers to ask for access and authorization to use the video in the popup window on the dashboard, so while waiting for permission, I use this display in another window.
Thank you.

PS. I tried to edit the “webcam_c_block.php” file as you suggested in a previous post:

It works perfectly, but it doesn’t fully capture the webcam frame, I still don’t know what it depends on, there must be some parameter to modify in defining the margins or borders or the resolution of the video.

Regards.

I tried to make the change to lines 67-68, copying your code and putting the link to my live webcam on YouTube but why doesn’t it work?

I suspect it’s because this thread is discussing the m3u8 video format and YouTube video isn’t in that format?

Oh yes, I’m sure you’re right, since I went to the site of the guy who posted here and saw that he put a YouTube video inside the webcam module, I thought it was enough to change the link. How can I integrate my live webcam stream on YouTube?

This post seems to have some details on how to do it - https://discourse2.weather-watch.com/t/how-can-i-add-an-webcam-youtube-url-in-the-webcam-block-solved/68633

I hope to find the solution there thanks even if it seems quite complex!