Community Forums › Forums › Archived Forums › Design Tips and Tricks › Splash Page with Quicktime Video
Tagged: landing page, quicktime movie, quicktime video, splash page
- This topic has 8 replies, 2 voices, and was last updated 11 years, 3 months ago by rbrown08.
-
AuthorPosts
-
January 23, 2013 at 5:58 pm #14197rbrown08Member
I'm trying to create a Splash Page that will have a Quicktime movie on it. I created a page template and took out all of the genesis hooks. I then added the embed code for the movie and I set up my page so that it uses the template file. All is good, except the movie isn't there! I have researched to make sure my code is correct and I don't see anything wrong. Here it is:
<?php
/*
Template Name: Splash
*/// Add custom body class to the head
add_filter( 'body_class', 'add_body_class' );
function add_body_class( $classes ) {
$classes[] = 'lanadil-splash';
return $classes;
}// Remove header, navigation, breadcrumbs, footer widgets, footer
add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' );
remove_action( 'genesis_header', 'genesis_header_markup_open', 5 );
remove_action( 'genesis_header', 'genesis_do_header' );
remove_action( 'genesis_header', 'genesis_header_markup_close', 15 );
remove_action( 'genesis_after_header', 'genesis_do_nav' );
remove_action( 'genesis_after_header', 'genesis_do_subnav' );
remove_action( 'genesis_before_loop', 'genesis_do_breadcrumbs');
remove_action( 'genesis_before_footer', 'genesis_footer_widget_areas' );
remove_action( 'genesis_footer', 'genesis_footer_markup_open', 5 );
remove_action( 'genesis_footer', 'genesis_do_footer' );
remove_action( 'genesis_footer', 'genesis_footer_markup_close', 15 );
remove_action( 'genesis_loop', 'genesis_do_loop' );// Do Custom Content
function child_do_content() { ?>
<div class="lanadil-splash"><object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
width="720" height="486"
codebase="http://www.apple.com/qtactivex/qtplugin.cab">
<param name='src' value="http://lanadil.evibedesigns.com/wp-content/themes/lanadil/comp_Tetra_Master_wRamp_720.mov">
<param name='autoplay' value="true">
<param name='controller' value="true">
<param name='loop' value="false"><embed src="http://lanadil.evibedesigns.com/wp-content/themes/lanadil/comp_Tetra_Master_wRamp_720.mov" width="720" height="486"
scale="tofit" autoplay="true"
controller="true" loop="true" bgcolor="f5f5f5"
pluginspage="http://www.apple.com/quicktime/download/"></embed>
</object>
</div><?php }
genesis();This is the webpage: http://lanadil.evibedesigns.com/index.
Any ideas? Would the embed code be different if using on a php file as opposed to an html file?
January 23, 2013 at 6:14 pm #14200AnitaKeymasterTry this plugin - http://wordpress.org/extend/plugins/vipers-video-quicktags/.
Love coffee, chocolate and my Bella!
January 23, 2013 at 7:36 pm #14214rbrown08MemberAlthough that plugin would work, I want the page to be a template that does not load the header and the footer sections. Can that be done without creating a page template? I don't think so...
January 23, 2013 at 8:27 pm #14219AnitaKeymasterI think so... if you use the Landing Page template. If your theme doesn't come standard with the landing page template - here are the instructions - http://www.briangardner.com/create-landing-page/.
Good luck!
Love coffee, chocolate and my Bella!
January 24, 2013 at 12:27 pm #14358rbrown08MemberI've got the landing page creation part down. I just can't find how to embed the video on the landing page template I've created. Through further researching, I believe I need some javascript.
January 24, 2013 at 3:21 pm #14401AnitaKeymasterWell, first you should evaluate the usage of Quick Time as your source. Not everyone has Quick Time or iTunes in order to view/play the video source. Not to mention that when you run the video from your own server - you run the risk of slow load times, long buffer period, etc. You might want to consider using Youtube or Vimeo, especially since you can restrict Google Ads from your videos. Vimeo is much cleaner than Youtube.
Love coffee, chocolate and my Bella!
January 24, 2013 at 4:07 pm #14415rbrown08MemberThanks for the feedback anitac. It's actually not my site and I am working on talking them out of using the video, but they really want it.
January 24, 2013 at 4:09 pm #14417AnitaKeymasterWell, it would be fine but they need to make sure that it's viewable on all platforms and mobile devices. If they want the video on the ENTRY PAGE, it must be pretty important to them so they should make sure they use the fastest way for it to load. Otherwise, people will click off and never view it.
Love coffee, chocolate and my Bella!
January 24, 2013 at 4:14 pm #14419rbrown08MemberThanks, I think I'll take a look at Vimeo and how that would look. I really do appreciate the comments 🙂 You gave me more food for thought...
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.