Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2017-11-14 07:01:12

Evagoras
Member
From: London, UK
Registered: 2013-11-14
Posts: 132
Website

Gallery iframe coding

Can anyone help with some coding.

I’m i’m looking to embed an iframe which includes a mp4 at the top of a gallery and want the frame to stretch to 100% of the width of the page. This is so it resizes automatically to whichever browser the viewer is looking on be it a desktop, mobile or tablet, in landscape or portrait.

Is it something I can put in the html coding or does it have to go deeper?

I could use the video embedding but can’t use YouTube or Vimeo.

Thanks in advance.

Offline

#2 2017-11-14 07:19:41

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Gallery iframe coding

have you seen the Pym documentation: http://backlight.theturninggate.net/doc … tation_pym

Theater has html5 Video embedding, which includes MP4: http://backlight.theturninggate.net/doc … tation_pym


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2017-11-14 09:49:20

Evagoras
Member
From: London, UK
Registered: 2013-11-14
Posts: 132
Website

Re: Gallery iframe coding

Thanks Rod,

Appreciate you time.

What if I wanted to embed this in cart gallery and have the video at the top?

Also, as I am using a static URL from my box.com account it seems to have decent with a mobile (iPhone) however on a Desktop (Mac) & safari it just wants to download the mp4 file.

Gallery
http://www.evagoras.co.uk/galleries/pri … and-dance/
Static URL
https://evagoras.box.com/shared/static/ … fabjfi.mp4

Offline

#4 2017-11-14 09:54:00

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Gallery iframe coding

What if I wanted to embed this in cart gallery and have the video at the top?

Use phplugins. I don't know what html you'd need to wrap it in though. You could try creating a Theater video page and then look at the html that's generated.

Sorry I can't be of more help.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#5 2017-11-14 10:20:28

Evagoras
Member
From: London, UK
Registered: 2013-11-14
Posts: 132
Website

Re: Gallery iframe coding

Hmm, easier than I thought all I did was add width=100%

http://www.evagoras.co.uk/galleries/pri … and-dance/

Offline

#6 2017-11-14 22:17:19

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Gallery iframe coding

I'm getting an error at that address.

If you're just wanting an MP4 audio file, then you don't need to reference our video embeds. Just setup using the HTML5 <audio> element. You can use PHPlugins to insert this, or you can probably get away with just pasting the HTML into the album copy.


Matt

The Turning Gate, http://theturninggate.net

Offline

Board footer

Powered by FluxBB