Replace top Banner with Video

Looking for an Extension? Have an Extension request? Post your request here for help. (Note: This forum is community supported; while there is an Extensions Development Team, said team does not dedicate itself to handling requests in this forum)
Scam Warning
Post Reply
nomad666
Registered User
Posts: 129
Joined: Wed Oct 14, 2015 4:57 am

Replace top Banner with Video

Post by nomad666 »

Replace the top banner with video file or youtube video.
This is available with wordpress 2017 and its really cool would be cool to for PHPBB
right now I am using an animated gif its allot of work to make the animations video would be so much easier.
User avatar
Galandas
Registered User
Posts: 734
Joined: Thu Jul 23, 2009 4:11 pm
Location: Italy
Name: Rey
Contact:

Re: Replace top Banner with Video

Post by Galandas »

I didn't understand the request, you can put a link to find out what it is.
Last edited by Galandas on Tue Jun 20, 2017 5:36 pm, edited 1 time in total.
English is not my native language My CDB Contributions My RC extensions
nomad666
Registered User
Posts: 129
Joined: Wed Oct 14, 2015 4:57 am

Re: Replace top Banner with Video

Post by nomad666 »

I did not think that replacing the top banner with video would be so hard a concept to grasp.
User avatar
Galandas
Registered User
Posts: 734
Joined: Thu Jul 23, 2009 4:11 pm
Location: Italy
Name: Rey
Contact:

Re: Replace top Banner with Video

Post by Galandas »

nomad666 wrote: Tue Jun 20, 2017 5:02 pm I did not think that replacing the top banner with video would be so hard a concept to grasp.
My extension perhaps might do so, with some modifications you might try
English is not my native language My CDB Contributions My RC extensions
nomad666
Registered User
Posts: 129
Joined: Wed Oct 14, 2015 4:57 am

Re: Replace top Banner with Video

Post by nomad666 »

it ended up being very easy to remove the banner and add in the HTML5 code video looks great but I get no sound for the videos no idea if its a problem with PHPBB 3.2 or if its a browser problem as I get no sound no mater what browser is used- no sound icon shows up with the HTML5 Video code.

Code: Select all

<!-- EVENT overall_header_headerbar_before -->
			<div class="inner">

			<div id="site-description" class="site-description">
				<a id="logo" class="logo" href="<!-- IF U_SITE_HOME -->{U_SITE_HOME}<!-- ELSE -->{U_INDEX}<!-- ENDIF -->" title="<!-- IF U_SITE_HOME -->{L_SITE_HOME}<!-- ELSE -->{L_INDEX}<!-- ENDIF -->"><span class="site_logo"></span></a>
				<h1>{SITENAME}</h1>
				<p>{SITE_DESCRIPTION}</p>
				<p class="skiplink"><a href="#start_here">{L_SKIP}</a></p>
			</div>

			<!-- EVENT overall_header_searchbox_before -->

Change it to this

Code: Select all

<!-- EVENT overall_header_headerbar_before -->


			<div class="inner">

			<div id="site-description" class="site-description">

			<video width="1140" height="840" autoplay="autoplay" loop="loop" controls>
			  <source src="http://put your path to video here/test.mp4" type="video/mp4">
			  Your browser does not support HTML5 video.
</video>
				<h1>{SITENAME}</h1>
				<p>{SITE_DESCRIPTION}</p>
				<p class="skiplink"><a href="#start_here">{L_SKIP}</a></p>
			</div>

			<!-- EVENT overall_header_searchbox_before -->
Again problem I have is no Audio - Video works awesome.
I dont know if its a browser/HTML5/PHPbb 3.2 or windows 10 problem
no audio icon shows up in chrome does show in firefox but cant turn audio on.
nomad666
Registered User
Posts: 129
Joined: Wed Oct 14, 2015 4:57 am

Re: Replace top Banner with Video

Post by nomad666 »

Ended up its the video format some mp4 work some do not
Smorawski
Registered User
Posts: 8
Joined: Mon Jun 19, 2017 1:55 pm

Re: Replace top Banner with Video

Post by Smorawski »

Great idea...
Post Reply

Return to “Extension Requests”