Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Can't remove wrong inserted id from the block with id="player"


Can't remove a wrong inserted id from the block with id="player".Seems to me once inserted this wrong id is stuck in the flash object and appears whatever i did with my php code.The thing is before I created a block with <div id="someid"> and put there id="player by your insructions.After some time I removed that wrong id from my php template.But when i look that via Opera browser that id still there.How can I solve the problem?!

9 Community Answers

MisterNeutron

User  
0 rated :

Please give us a link to your site.

It sounds like a simple matter of refreshing the browser cache.

umtan

User  
0 rated :

The web site is asuasu.kz.The id is called as "player_wrapper" and it's in a flash object.
Yes ,i know that a refreshing the cache will help me but just in my browser.But what about the users who are already visited my web site before,i mean their browser's cache?!Thanks.

Todd

JW Player Support Agent  
0 rated :

My guess is that most web browsers are smart enough to detect a change in the page after a few minutes. I’d certainly expect that once the session has ended and the user closes the tab or the application that they would get the updated version of the page.

umtan

User  
0 rated :

Sorry, I am not satisfied with your answer?It looks like teaching shildren to take a spoon on their hands for the first time.
If you really want to solve the problem, please, look in this screeshot:
http://i11.pixs.ru/storage/2/4/4/playerpng_8829399_16779244.png
Here a id=player1_wrapper was removed before from my php template and from css file before but it is lives still there .WHY????
I didn't clean the opera browser's cache in case that the users are still have that problem too as me.
Thanks in advance and hope you will solve the problem!

MisterNeutron

User  
0 rated :

This is not a JW Player problem. It's a browser problem. You're putting the blame in the wrong place.

The JW Player script can't do much about a browser that won't clear its own cache. One of the fundamental facts about Internet security is that scripts and applications have a very limited ability to induce changes in the browser settings, and for very good reason. I'm surprised that you seem to be unaware of this.

umtan

User  
0 rated :

Why if it's a browser cache's ability then why when I remove your product from the page this id is disappeared too ???

MisterNeutron

User  
0 rated :

Not my product. I don't work for JW Player.

The presence or absence of the div ID is purely an HTML thing. The JW Player script doesn't create the ID. If you remove a div ID from the HTML, it's not there any longer.

This is not complicated.

umtan

User  
0 rated :

So you think I am so stupid that didn't remove div ID from my HTML page and blame people at the wrong place as they said.Before answering in this way you should've read my message carefully.

Todd

JW Player Support Agent  
0 rated :

I think I have a partial explanation and hopefully a useful suggestion:

When our player is in Flash mode, it takes your <div id=someName> and replaces it with <div id=someName_wrapper> as part of the jwplayer().setup() process. You do not see this in the page source, but you can see this in the browser’s Elements or DOM inspector (different browsers call it different things). Inside this new <div id=someName_wrapper>, our player sets some CSS inline to make the video appear correctly.

It is important to note that you do not have to create this _wrapper <div> on the page. All you need is the <div id=someName> in the PHP output and our player will do the rest when the HTML and Javascript are processed client-side when the page loads.

This question has received the maximum number of answers.