www.webdeveloper.com
Results 1 to 8 of 8

Thread: Not Refreshed Area

  1. #1
    Join Date
    Jul 2009
    Posts
    4

    Lightbulb Not Refreshed Area

    Hi all!

    I am trying to have a flash-based music player on my page which continues playing a song even when you refresh or go to another page within the web site.

    I whant do this like google videos

    if someone knows hou its made plz help

  2. #2
    Join Date
    May 2003
    Location
    Between Baltimore and DC
    Posts
    3,579
    frames or code the flash player to know where you left off

    Eric
    Tech Author [Ajax In Action, JavaScript: Visual Blueprint] | twitter | linkedin | http://www.pascarello.com

  3. #3
    Join Date
    Jul 2009
    Posts
    4
    this is my player i am using JW flv player

    Code:
    <script type="text/javascript" src="js/swfobject.js"></script>
    <script type="text/javascript">
    
    function createplayer(theFile, go) {
    	var s = new SWFObject("Player/player.swf","PlayerID","200","202","7");
    	s.addParam("allowfullscreen","true");
    	s.addVariable("file",theFile);
    	s.addVariable("width","200");
    	s.addVariable("height", "202");
    	s.addVariable('backcolor', '0x000000');
    	s.addVariable('frontcolor', '0xFFFFFF');
    	s.addVariable('lightcolor', '0xFFFFFF');
    	s.addVariable('screencolor', '0xFFFFFF');
    	s.addVariable("displayheight","225");
    	s.addVariable("overstretch","fit");
    	s.addVariable("shuffle","false");
    	s.addVariable("playlist","bottom");
    	//s.addVariable("thumbsinplaylist","true");
    	//s.addParam('flashvars','file=p.xml&playlist=bottom&playlistsize=180');
    	if (go) { s.addVariable("autostart","true"); }
    	s.write("movie_container");
    }
    </script>
    this is container div, i want to this div to be no refresh area

    Code:
    <div id="movie_container"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a></div>

  4. #4
    Join Date
    May 2003
    Location
    Between Baltimore and DC
    Posts
    3,579
    There is no such thing as a no refresh area on a web page.

    Just as i said before:
    You either have frames [not iframes] or you have nothing or you have that player remember where you left off. I doubt the player does it, I am not going to investigate for you.

    Eric
    Tech Author [Ajax In Action, JavaScript: Visual Blueprint] | twitter | linkedin | http://www.pascarello.com

  5. #5
    Join Date
    Jul 2009
    Posts
    4
    i want to learn how its made but i don't know what is this technology name if you know tell me and i was do it myself

  6. #6
    Join Date
    May 2003
    Location
    Between Baltimore and DC
    Posts
    3,579
    Tech Author [Ajax In Action, JavaScript: Visual Blueprint] | twitter | linkedin | http://www.pascarello.com

  7. #7
    Join Date
    Jul 2009
    Posts
    4
    Are you sure that this can be done only with frames?

    i think also that can be done with JS

  8. #8
    Join Date
    May 2003
    Location
    Between Baltimore and DC
    Posts
    3,579
    If you are going to change the rest of the page with Ajax than I guess you are right, but I highly doubt that is what you are talking about.

    Eric
    Tech Author [Ajax In Action, JavaScript: Visual Blueprint] | twitter | linkedin | http://www.pascarello.com

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles