thespann
Forum Replies Created
-
Forum: Themes and Templates
In reply to: How can I change a div class 'jpg' to a 'mp4' video?OK I found my answer and are very happy to have the video up and running in as little as twenty minuets.
all I needed was the [Plugin: Video.js – HTML5 Video Player for WordPress]
I had to convert my original video into three other formats and make a ‘png’ file for back up when the video is not available.The plugin has all the support documentation you need and its as simple as cut and paste on script into my header and I was done.
this is the new code that replaced the code for the original header picture.
NEW CODE:
<video id=”example_video_1″ class=”video-js vjs-default-skin”
preload=”auto” width=”935″ height=”163″ autoplay=”true” loop=”true” controls=”false” margin=”0″ class=”aligncenter”
poster=”http://morningtonfishingcharters.com.au/wp-content/uploads/2016/02/mornington-fishing-charters.png”
data-setup='{“example_option”:true}’>
<source src=”http://morningtonfishingcharters.com.au/wp-content/uploads/2016/02/mornington-fishing-charters.mp4″ type=”video/mp4″ />
<source src=”http://morningtonfishingcharters.com.au/wp-content/uploads/2016/02/mornington-fishing-charters.webm” type=”video/webm” />
<source src=”http://morningtonfishingcharters.com.au/wp-content/uploads/2016/02/mornington-fishing-charters.ogv” type=”video/ogg” />
<p class=”vjs-no-js”>To view this video please enable JavaScript, and consider upgrading to a web browser that supports HTML5 video</p>
</video>OLD CODE:
<div class=”visual-img”>
<img src=”<?php bloginfo(‘template_url’); ?>/images/visual-header.jpg” width=”932″ height=”147″ alt=”Mornington Fishing Charters” />
</div>Forum: Themes and Templates
In reply to: [evolve] Disable Posts from appearing on HomepageIt’s pretty simple, open one of your pages (for example: about me) and on the top-right corner you can see a label named “Screen Options”.
Tick the box “Discussion” and in the same page under the text editor you will be able to disable the comments!