PaulinaMX
(ForosMX)
September 21, 2020, 1:45am
1
I would like someone to help me achieve this:
Put an intro video in that area of the homepage.
Where is the autumn image, there would be the video playing.
I have the video as file:
https://forosmx.s3-us-west-2.amazonaws.com/Coronaci%C3%B3n+vanessa.mp4
1 Like
Bcat
(Bcat)
September 21, 2020, 9:00am
2
You can try it out but for now have not dealt with how it shows the homepage or topic.
discourse-homepage-video.zip (1.2 KB)
2 Likes
PaulinaMX
(ForosMX)
September 21, 2020, 8:16pm
3
Thank you very much, the code works fine.
But, I think I did not know how to explain it correctly, my forum is private and I want to place the video only on the login page, before accessing the forum.
2 Likes
Bcat
(Bcat)
September 22, 2020, 1:45am
4
I don’t know if the login page url will look like: / login or /
If only for people who are not logged in and the login page will change by:
data-template-name="/connectors/login-before-modal-body/homepageVideo"
user = api.getCurrentUser()
discourse-homepage-video.zip (1.2 KB)