- This topic has 9 replies, 2 voices, and was last updated 5 years, 1 month ago by Tom.
October 24, 2016 at 9:15 am #238378Ramona
Thank you for the PHENOMENAL Themes and GP Premium Plugin. I have seen code you posted to display random logos, and also display random backgrounds in the Header.
Is there anyway in Page Header to randomly display videos?
Also, another off-topic question: Do you have an Affiliate Program?
Ramona EidOctober 24, 2016 at 10:15 am #238409TomLead DeveloperLead Developer
Ohh, that would be nice, but it’s currently not possible with the page header settings (not to say you couldn’t custom program it). I’ll keep it in mind 🙂
Glad you’re enjoying the theme!October 24, 2016 at 11:20 am #238441Ramona
Thank you for the link, Tom. Are there any Hooks/Filters for the Video. Not sure where to start.
Ramona EidOctober 24, 2016 at 2:06 pm #238491TomLead DeveloperLead Developer
Honestly I don’t have a super obvious idea for doing it.
I assume you would need to use GP Hooks as PHP is required.
You’ll need to look at how to create HTML5 video backgrounds.
Then the random part will probably be the same as the images, where you define a number of different URLs (to the videos), and then apply the variable to the HTML5 video background code you find.October 24, 2016 at 2:47 pm #238505Ramona
OK. Thanks Tom for the guidance. I will investigate that next.
I will keep you posted with my progress.October 24, 2016 at 8:44 pm #238555TomLead DeveloperLead DeveloperOctober 27, 2016 at 8:51 am #239390Ramona
Thank you Tom for the suggestion, but I solved it another way. I have it working perfectly on localhost, but now I need to create a DEV site and publish it live.
I wanted to give you and update, so that you didn’t think I forgot about your.
Thanks for all you do, Tom!
QueenOfTheWorkaroundOctober 27, 2016 at 10:14 am #239411TomLead DeveloperLead DeveloperNovember 2, 2016 at 1:15 pm #241191RamonaNovember 2, 2016 at 7:55 pm #241235
- You must be logged in to reply to this topic.