Jump to content
Sign in to follow this  
craigd

Video code in feature

Recommended Posts

craigd

Hi, I'm running iBlogPro 3.6.2. Can I put the following code in a feature on the feature setup page without braking the theme?

<script type="text/javascript" src="http://mysite.com/video/swfobject.js"></script>
	<div id="player">Video loading...</div>
	<script type="text/javascript">
	var so = new SWFObject('http://mysite.com/video/player.swf','mpl','450','315','9');
	so.addParam('allowscriptaccess','always');
	so.addParam('allowfullscreen','true');
	so.addParam('flashvars','ℑ=http://mysite.s3.amazonaws.com/landingsplash.jpg&autostart=true&file=http://mysite.s3.amazonaws.com/landingpage.mp4&skin=http://mysite.com/video/bluemetal.swf');
	so.write('player');
	</script>
	

Share this post


Link to post
Share on other sites
bryan-hadaway

I can't say for sure how it'll look or react, I suggest testing it out and if it doesn't work or it doesn't look right, I'll see if I can help and make sure that it does. Also, either way please provide the URL to your site. Thanks, Bryan

Share this post


Link to post
Share on other sites
paypalcraigdesorcycom

Thanks Bryan, I'd be interested in what the coders of the theme have to say.

Share this post


Link to post
Share on other sites
bryan-hadaway

Sure, they'll be available tomorrow roughly around about 8am - 12pm Mountain Time I believe. If you decide to get support from me, I'm thinking the HTML alternative to the video is likely going to be the best solution, if possible. Thanks, Bryan

Share this post


Link to post
Share on other sites
cmunns

It should work but you'll have to replace "mysite.com" with something valid.

Share this post


Link to post
Share on other sites
bryan-hadaway

So I guess you got this working, good to see. Thanks, Bryan

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×