Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Sessions flash player
- This topic has 4 replies, 2 voices, and was last updated 14 years, 4 months ago by amin007.
-
AuthorPosts
-
July 8, 2010 at 8:01 pm #1434vishwanath bitlaMember
First thank you for the paypal shopping cart plugin.
I feel this forum admins/members can solve this issue.
I have flash mp3 player (e-phonic) which is in javascript. I would like to use the flash player in for my wordpress website with sessions.
As the shopping cart is storing the cart items even if i move to other pages in my website, similarly i would like e-phonic flash player to store the list of songs in the playlist which i have created by clicking “add track to playlist”, even if navigate to other pages on my website the player should not reload so that it store the tracks in it and keeps playing.
I feel its all about the sessions.
If possible if i use the player in popup.php the all webpages/posts on my website need to know that the poup page is open and only need to add the track to playlist.
If i am not clear, i am sorry, you can have look at the website and download the demo http://www.epplayer.com/
My website is almost completed. presently i am using the player in framest. one frame loads wordpress and other frame loads flash player.
If this is solved i am ready pay for you.
I believe Amin has the solution.
July 9, 2010 at 7:51 am #22328amin007ParticipantI am a little confused on what the actual question is. So is your question the following?
“How do I save track list in the session?”
July 9, 2010 at 10:27 am #22329vishwanath bitlaMemberI thought you would be confused so i request you to download the trail version of flash player from http://www.epplayer.com/ and also please look at the link http://www.epplayer.com/ep_player/example_javascript_api.html.
I have a wordpress blog in which i have intergrated the e-phonic flash player.As the flash player uses javascript i have installed javascript plugin. Every thing is working fine – i can add song to the player, till i am in one page(ex: index.php). When I move(click on) to other posts/pages the flash player is loosing the songs i have added from index.php, because the flash player is being reloaded.
The song i have added from the one post/page should still be there in the playlist as i move to other pages.
July 9, 2010 at 11:05 am #22330vishwanath bitlaMemberAs the shopping cart has the items I have added are still there even i navigate to other pages.
If thats not possible then I feel workaround would be to use the falsh player in popup page. To use the player in popup page i need use sessions. can you provide me the sessions script.
Here is MY Website http://twincityradio.totalh.com
Thanks and Regards
Vishwanath B
July 10, 2010 at 1:57 am #22331amin007ParticipantAh I see. You are trying to save to a PHP session from JavaScript! Remember the shopping cart is in PHP so it can easily save to session. In your case you need to use cookies as you want to store it from javascript (you can achieve the same with cookies too).
Just search for “Storing data in cookies from JavaScript” in Google and you will find a ton of articles that you can follow and do it yourself.
-
AuthorPosts
- You must be logged in to reply to this topic.