Linear

IE9 compatibility mode (Projekktor Core)

by Cristian, Thursday, March 22, 2012, 21:34 (454 days ago)

Hello,

I have my player almost ready,

The only problem is with IE9 with COMPATIBLY MODE

When compatibility mode is enabled the player works fine,
but if not,
the player does not appear,

I saw that your site works fine,

any suggestions?

  785 views
Avatar

IE9 compatibility mode

by sascha ⌂ @, Sunday, March 25, 2012, 11:41 (451 days ago) @ Cristian

Most likely you´re using <video> tags which are wrapped by a <p>aragraph - right?

Projekktor tricks the old IEs in order to eat the e.g. the <video> tag but this trick doesn´t work under the mentioned circumstance.

In general I recommend not to use the media tags but move the whole config - including source-file definitions - into the Propjekktor config-object.

Hope this helps.

- Sascha

---
Help keeping free Projekktor support alive. Consider to buy supporter license: http://shop.projekktorxl.com/shop/supporter-license/

  730 views

IE9 compatibility mode

by Cristian, Monday, March 26, 2012, 12:06 (450 days ago) @ sascha

Thank you for the response,

There any explanation how to do this,
I have copied the code from, http://www.projekktor.com/projekktor.html

that works fine but it doesn't work on my site.

1) If I copy all this code and change relative links it doesn't work
2) If I use my own code and I insert,

<script src="http://www.projekktorxl.com/api/js/core/id/projekktor" type="text/javascript"></script> <!-- Load Projekktor from pXL repo -->

and remove

<video id="player_a" class="projekktor" poster="foto.jpg" title="this is Projekktor" width="640" height="360" controls></video>

for

<div class="projekktor"></div>

it works,
but with the same problem with IE9 Compatibility mode turned off.

thanks,
best regards,
cristian

  774 views

IE9 compatibility mode

by Cristian, España, Monday, March 26, 2012, 13:25 (450 days ago) @ Cristian

Hi,

there is a trick to solve that problem,
copy this line, It have to be the first one metatag, and must be placed in head,

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" >

But it doesn't solve my problem because I need work like a Universal Script to be placed anywhere,

May be it is useful for somebody,

best regards,
Cristian

  791 views

IE9 compatibility mode

by Cristian, Monday, March 26, 2012, 16:13 (450 days ago) @ Cristian

Solved!

I forget including this line of code
<script type="text/javascript" src="js/projekktor-1.0.07r22.min.js"></script>

In this example,
http://www.projekktor.com/projekktor.html
this line is missing,

maybe is because is an iframe and get it from the main page,

;)

Best regards,
Cristian

  787 views
Avatar

IE9 compatibility mode

by sascha ⌂ @, Tuesday, March 27, 2012, 10:30 (449 days ago) @ Cristian

Thanks for reporting your solution.
Sorry for not getting back to you earlier.
...lots of stuff to do.

- sascha

  729 views