Hello guys Ive used kLinks sample [url=http://www.jeroenwijering.com/?thread=14074]kLink's Sample[/url] to combine a SWF file inside the JW player. In a simple HTML document it works very well without any problem. I insert the code in an ASP.NET 2.0 local website which is located on my computer. The JW Player *DOES* appear but when I click on the play button the loading indicator appears and never main video being played. I suppose that a few settings should be applied to IIS. I am using IIS7 in Windows Vista and I would be really appreciated if anyone can help me here.
and here is the relevant section of the page that is using the master page and the player is dwelling inside it: bc.. <div id="page_content">
<!--start of middle column--> <!--player--> <div id="playercontainer" class="playercontainer"> <a id="player" class="player" href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">Get the Adobe Flash Player to see this video.</a> </div> <div id="swfcontainer" class="swfcontainer"> <a id="swf" class="swf" href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash">Get the Adobe Flash Player to see this video.</a> </div> <!--end of middle column--> </div>
when using exotic nonstandard proprietary systems and languages - start with a standard .html test page, with just a player and then only when you have seen that work first - start the experiments with the transferral...
I'm not sure what you mean by a local website. The player page must be online for online file access. That means at least http://localhost/path/playerpage.html
Also, Flash content doesn't work well in forms. However, there are workarounds for .NET and/or ASP which must be placed in forms. I'm not very familiar with them, so use Google "Flash Content ASP Forms" and you will probably find the workarounds.
@kLink: I think that the problem is not what you mentioned. Even i tested the swfobject.net and that problem still exist. Just for testing purpose, I move the folder that contains all JW Player's files which works perfect outside an ASP.NET project but when i move that folder inside my ASP.NET it stops working( the html sample that you gave me doesn't work in an ASP.NET website). So i think the problem is something related to IIS or other factors and definitly it's not related to ASP.NET form element or such things.
try some forum wide searches - *http://www.jeroenwijering.com/?search=asp*
and then you will have to go about it an extremely systematic way - in the code you posted there are way too many unknown factors that can be the cause of the problem(s) - small steps are what is needed.
youve seen it work on a plain .html page you say - so we know the player can work on your server - leaving out the asp stuff
so you are in for a really painstaking series of meticulous experiments, starting with the working .html page - change only one thing at the time and test - so that you have a fair chance to notice when what breaks what. - then repair and repeat procedure
edit: it hits me, that you should also try use full paths everywhere ! maybe that asp.net directory is virtual and ruins the paths
bc.. it hits me, that you should also try use full paths everywhere ! maybe that asp.net directory is virtual and ruins the paths
I suppose you are right. I copied my whole website to another location and ran my website without IIS7(with ASP.NET built-in web server) and the plain .html sample started to work but the .aspx page still have that problem. Do you guys have any idea how can i solve the problem?
Finally i managed to run the JW Player in ASP.NET websites. The solution is really ridiculous and i am not going to write it here since it's not really a true solution. But i still can't run JW Player under IIS7 while my website must run under IIS7. any idea?