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 2020-04-14 04:38:09

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Looping video on home page

Trying to implement a video sequence on the HOME page of pideja.ca/marco
I create an album template using the theatre module and named it intro; I then placed a folder named intro in the galleries; I then placed the video files (mp4, ogv and webm) in the videosrc folder.
So it's pideja.ca/marco/galleries/videosrc.
In Publisher, I created an album called intro. In the base settings, set template to intro and the video ID to intro. The video files are called intro, of course. I edited the .htaccess file according to the instructions in "Video Embedding: HTML5 Video" on the TTG documentation page.
That's a lot of "intro"s but I think it's simpler this way.
Anyway, nothing shows up on the home page!

What did I forget to do?

Offline

#2 2020-04-14 04:49:00

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

Re: Looping video on home page

According to the documentation, the videosrc folder needs to be in the root of the site, at the same level as galleries/ and backlight/
http://backlight.theturninggate.net/doc … ideo_files

and then you also need to insert the album into the home page


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 2020-04-14 04:50:29

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: Looping video on home page

That's where it is now.

Offline

#4 2020-04-14 04:51:15

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

Re: Looping video on home page

that's not what you wrote above. Double check the location.
Also, did you remember to insert the album into the Home page?
I don't see any html for an inserted album


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 2020-04-14 05:03:49

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: Looping video on home page

As it stands now, the server setup looks like this:
ftp and yes, the the "intro" album is inserted into the home page:album

Offline

#6 2020-04-14 05:28:07

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: Looping video on home page

Got it to work...I placed the intro folder within the galleries folder.

This is a dummy video as I'll be editing another clip for this introduction. And the final video will have no sound. But the structure is in place...almost. I'd like it to loop!
This code:

<video controls loop>
  <source src="movie.mp4" type="video/mp4">
  <source src="movie.ogg" type="video/ogg">
  Your browser does not support the video tag.
</video>

found in the w3schools site is suggested. But where should I place it?

Offline

#7 2020-04-14 06:00:22

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

Re: Looping video on home page

Not sure if you can. I'm guessing that the <video controls loop> tag would replace an existing <video> tag created by Theater.

maybe you could replace or append the tag with jQuery?


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

Offline

#8 2020-04-14 23:16:16

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: Looping video on home page

Finally, I got it to loop...using After Effects, I created a 3-minute loop which should be more than enough before one chooses Fr or En to enter the site. Could easily make it longer but why bother?

In the end, I'm not too sure I'll keep the effect. Glad I succeeded but I now realize the simpler nameplate approach might be better in this case.

Offline

#9 2020-04-15 01:41:49

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: Looping video on home page

Pierre, I'm not certain that it is obvious that one has to select english or french in the top right corner to enter the site, or at least it takes some time to figure this out. Just my 2 cents.


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

Board footer

Powered by FluxBB