Jump to content
Sign in to follow this  
oinegue1960

flash object - what's the ideal section?

Recommended Posts

oinegue1960

Hello, I'd need to add a flash player to the home page. (just object, no text) It's a CS4 flash audio player featuring a rectangular display with led meter and song titles details. It will be placed at the center-right of the page in order to replace the current features-slider. Also the size is similar to the slider. What section do you suggest to choose? Thank you.

Share this post


Link to post
Share on other sites
catrina
You can use this plugin to place the Flash object on the site: http://wordpress.org/extend/plugins/swfobject-reloaded. It generates a shortcode for the object, which you can paste anywhere where HTML can be implemented (i.e. a widget). You can add put it in a DIV layer added using a hook in the functions.php file in either [url="http://www.pagelines.com/wiki/How_to_Use_the_PageLines_Customize_Plugin"]PageLines Customize[/url] or the [url="http://www.pagelines.com/wiki/How_to_Use_the_Base_Theme"]base theme[/url] (depending on what you're using). You'd need to use one of the feature hooks (listed here and starting with "pagelines_feature": http://api.pagelines.com/hooks).

Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

Share this post


Link to post
Share on other sites
oinegue1960
Have I to use both either wordpress plugin or hook, or just one is enough? Thank you

Share this post


Link to post
Share on other sites
Rob
If you're adding to the homepage only, just use the shortcode (plugin). If you are putting it into a section, such as the header (branding area) then a hook is appropriate, so that it shows across the site. From what I read, you seem to want it only on the static homepage.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
oinegue1960
Correct. Just homepage. While I was waiting for a reply I'm testing also 'advanced iframe' plugin but it seems not to work. (it partially displays the flash player and it doesn't work) Maybe such plugin could be not allowed by Pagelines. Well, I'm glad the hook is not necessary as I never used it and it would result to me like a 'biblic condamnation' to learn it in real time... ;) Just one more question: can I use widget even if I'm using 'full width' template (no sidebar)?

Share this post


Link to post
Share on other sites
Rob
Let me clarify some terms for you. A widget is something that goes in a sidebar. A plugin is something added to Wordpress and shortcode is a snippet of code that you can add anywhere. If you're using the full width template and need to use a widget, simply drag the full-width or universal sidebar into the content area in your template setup. Then apply the widget there. Many widgets have alternate means of being applied offered on their homepages, so check the plugin to see if they use a widget AND/OR a shortcode. If the shortcode option exists, just add it to the page (or post) where you want it. This plugin http://wordpress.org/extend/plugins/kimili-flash-embed/ uses a shortcode that you can use to embed the flash. You need the full URL to the actual flash file to make any of these plugins work.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
oinegue1960
Thank you rangelone. Well, swfobject reloaded doesn't work as my player is a 'complex' aac+ flash player that need several 'same domain' js, php, swf and more files to properly work. It need its own 'environment' which it doesn't find them where I will include it in WP library or post or page like a 'simple' media. Because of that I successfully use it with other my WP sites by 'advanced iframe' plugin which launch a 'php', which launch a 'swf' and so on. You can see it at work at this url http://www.radiowebjay.com/contents/how-to-listen/ I don't know if it will work by 'universal sidebar' as basically it works directly on a 'media' file while I'd need to work on a 'php' file. I guess a way to make the player working is to use an iframe which launchs 'player.php' file. I wonder why such plugin doesn't work with Pagelines.

Share this post


Link to post
Share on other sites
Rob
I don't think this is a PageLines issue but one with WordPress itself. You should notice from the plugins we've suggested that WP requires plugins to play Flash files. I think this is out of our control but would suggest you request a quote from one of our pros to see if one of them has a solution they can provide. http://www.pagelines.com/pros

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
oinegue1960
Probably you're right but I wonder why the flash player is running at the above link as per normal on WP 3.3.1, the same release I'm currently using with Pagelines. On tomorrow I'll write to the programmer of the player on some possible issue with WP but I have no evidence of this issue with the latest release. I thank you anyway.

Share this post


Link to post
Share on other sites
Danny
Hi oinegue1960, I have accepted Rangelone's answer for moderating purposes.

Please search our forums, before posting!

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  

×