Add webcam live on my forum

Need some custom code changes to the phpBB core simple enough that you feel doesn't require an extension? Then post your request here so that community members can provide some assistance.

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTE: NO OFFICIAL SUPPORT IS PROVIDED IN THIS SUB-FORUM
Post Reply
User avatar
stlvargas
Registered User
Posts: 55
Joined: Fri Jan 30, 2015 7:21 am
Location: Italia
Contact:

Add webcam live on my forum

Post by stlvargas » Mon Jan 01, 2018 4:59 pm

Hello, and happy New Year to everyone
I would like to bring the image of a live webcam of another site for my spearfishing forum
The webcam link is this:
https://www.skylinewebcams.com/it/webca ... ciolo.html
My forum is instead at this address:
http://spearfishingteam.altervista.org/forum/index.php

I tried, turning on the net (I do not know the web language) to create a bbcode called [cam] [\ cam] with inside this code:

Code: Select all

<div style="width: 100%; display: block; max-width:600px; padding-bottom: 45%; position: relative; overflow: hidden;">
    <iframe style="position: absolute; width:100%; height: 100%; top: 0; left: 0;" src="https://www.skylinewebcams.com/it/webcam/italia/toscana/livorno/castiglioncello-porticciolo.html?alias=palpi"></iframe>
</div>
But inside the box, you see the whole web page and not just the live of the cm, as I would like.

Can someone help me?
Yhank you in advance
Best regards
Roberto, Italy

User avatar
david63
Jr. Extension Validator
Posts: 14926
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: Add webcam live on my forum

Post by david63 » Mon Jan 01, 2018 5:36 pm

One question to ask - does your host allow this as many do not
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

janus_zonstraal
Registered User
Posts: 2698
Joined: Sat Aug 30, 2014 1:30 pm

Re: Add webcam live on my forum

Post by janus_zonstraal » Mon Jan 01, 2018 5:50 pm

david63 wrote:
Mon Jan 01, 2018 5:36 pm
One question to ask - does your host allow this as many do not
Why not?
Sorry! My English is bat ;) !!!

User avatar
stlvargas
Registered User
Posts: 55
Joined: Fri Jan 30, 2015 7:21 am
Location: Italia
Contact:

Re: Add webcam live on my forum

Post by stlvargas » Mon Jan 01, 2018 6:02 pm

yes, i have other webcam image, some with pictures and some live

I can see it on a window, but i see all web page

I'm sure to have wrong something, but i dont' know what...
Roberto, Italy

janus_zonstraal
Registered User
Posts: 2698
Joined: Sat Aug 30, 2014 1:30 pm

Re: Add webcam live on my forum

Post by janus_zonstraal » Mon Jan 01, 2018 6:29 pm

You have to use the url from the webcam, not from the webpage.

Maybe you can find the right url in the source code of the website.
(but this has nothing to do with phpbb.)
Sorry! My English is bat ;) !!!

User avatar
stlvargas
Registered User
Posts: 55
Joined: Fri Jan 30, 2015 7:21 am
Location: Italia
Contact:

Re: Add webcam live on my forum

Post by stlvargas » Mon Jan 01, 2018 8:34 pm

janus_zonstraal wrote:
Mon Jan 01, 2018 6:29 pm
You have to use the url from the webcam, not from the webpage.

Maybe you can find the right url in the source code of the website.
(but this has nothing to do with phpbb.)
that's just what I can not find.
If I go with the right button on the image nothing appears ....
Can someone find it?
Thank you so much again
Greetings
Roberto, Italy

Selective
Registered User
Posts: 213
Joined: Sat Apr 19, 2014 10:30 am

Re: Add webcam live on my forum

Post by Selective » Sun Jan 14, 2018 7:30 pm

If you can stream the video on YouTube, then I already have many BBCodes for Live YouTube streams.

I also have BBCodes for Twitch, but Twitch recently changed their embed codes, and I might have to redo the ones for Twitch, because those might not all work.

If you can't use a BBCode, then the last option is to add the pages extension to your ACP, and then you can create a custom forum page just for your live stream. Then you can add a link to that page in your Forum, so people can easily go to it at anytime.

On the custom live stream page, you could have the live stream inside of an iframe with no scroll bars, so people only see your forum and the live stream.

User avatar
Lumpy Burgertushie
Registered User
Posts: 65192
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: Add webcam live on my forum

Post by Lumpy Burgertushie » Sun Jan 14, 2018 8:21 pm

I can't find any way to get the actual code of the live web cam from the page.
you would need to contact whoever owns that page and ask them how to do it.
I would assume if they allowed people to use their live feeds they would put up a button or something.


robert
I am available for custom work on a donation basis. Please send me a PM with your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

OK, so what's the speed of dark?

Post Reply

Return to “phpBB Custom Coding”

Who is online

Users browsing this forum: Edward572 and 24 guests