1 Reply Latest reply on Nov 19, 2009 4:35 AM by tyjohnston

    what's the use of the index.template.html?

    zhangxiaohuiFlash

      Hello,Everyone!

       

      what's the use of the index.template.html?

       

      I am going to implement the FULLCREEN function with OSMF,but interfacing some problems. Then I tried

      many methods,some referred to modify the index.template.html. I don't know whether it is related to it.

      Nothing gets.

       

      Thanks!

        • 1. Re: what's the use of the index.template.html?
          tyjohnston

          When modifying the default index.template.html file, make sure that the 'allowFullScreen' paramater is included in each of the AC_FL_RunContent() functions and inside the <noscript> object params.

           

          AC_FL_RunContent(
                    "src", "playerProductInstall",
                    "FlashVars", "MMredirectURL="+MMredirectURL+'&MMplayerType='+MMPlayerType+'&MMdoctitle='+MMdoctitle+"",
                    "width", "${width}",
                    "height", "${height}",
                    "align", "middle",
                    "id", "${application}",
                    "quality", "high",
                    "bgcolor", "${bgcolor}",
                    "name", "${application}",
                    "allowScriptAccess","sameDomain",
                          "allowFullScreen","true",    
                    "type", "application/x-shockwave-flash",
                    "pluginspage", "http://www.adobe.com/go/getflashplayer"
               );
          

           

          For including fullscreen functionality with OSMF, take a look at the source of the sample Standalone player off the OSMF blog site:

           

          http://blogs.adobe.com/osmf/2009/11/simple_stand_alone_video_player.html