Is this possible within an Xway web page? Sometime in March I hope to add live video streams from two webcams. I don’t know the details yet, but I’m assuming there will be a piece of code that I’ll have to insert somewhere.
Thanks
Geoff
You’ll have some code to insert, yes. It shouldn’t be a problem, most likely it’s going to be an iframe in your Xway page. Failing that, some code pasted into a markup item.
I now have the streaming running and it works fine. The actual camera aspect is retained when looking at it on a phone, but what doesn’t remain in proportion is the iframe box, which goes from landscape to portrait, with the space above and below the video filled black. Would this be anything to do with the dimensions I’ve entered – 800px x 450px, Min/Max heights both 80% ?
It’s at: http://www.louthperegrines.org.uk/latest-news.html
Geoff
Hi Geoff,
Look at the section called “Video aspect ratio” in the Iframes chapter of the User Guide. This describes how you can get an iframe to resize proportionally.
Jeremy
I had worked through that before, but left in an 80% max height & width in the Min/Max dimensions boxes (which I didn’t really need). Having gone through it again without those and leaving the width & height at 100% it works fine.
Another lesson learned!
Thanks
Geoff