Notalib / LYT

m.e17.dk
GNU Lesser General Public License v3.0
10 stars 12 forks source link

Player doesn't work in IE8 #257

Closed mzedeler closed 12 years ago

mzedeler commented 12 years ago

When trying to use the player in IE8, the javascript crashes because of a bug in jQuery Mobile that seems to have been fixed in jQuery Mobile 1.1.

I'll try to test IE8 on my jQuery Mobile 1.1 branch and see if it works.

mzedeler commented 12 years ago

I have just tested IE8 on the jQuery Mobile 1.1 branch, and it works... sort of. There is a large number of layout bugs and it isn't possible to start the player.

mzedeler commented 12 years ago

@simmoe: as it looks now, resolving this issue will take several days, because I can see that our coffeescript code uses constructs that aren't available in IE8 that needs to be factored out. On top of this, there is a number of layout issues. Should I start fixing this as part of the 1.0.0 milestone or can we push it to a later milestone?

Note that fixing this issue requires an upgrade to jQuery Mobile 1.1, which will affect all platforms.

simmoe commented 12 years ago

Nope, this is for next milestone.

NajaWulff commented 12 years ago

@mzedeler I just tried opening the newest release in IE9 (9.0), and this only delivers me a blank screen. Is it the same on your machine?

simmoe commented 12 years ago

We need to break out some issues from this one.. @mzedeler is that your domain?

mzedeler commented 12 years ago

Split out into issue #313 which should solve the most important issue. Unfortunately, once issue #313 has been resolved, new ones may emerge.

everhoej commented 12 years ago

Estimated 17 hours.

LDHgithub commented 12 years ago

This issue is "seems solved" -> This means that it really needs a lot of testing normal books, books without text and of course Comics ...and so on and so forth.....

Estimated hours back 10.......

LDHgithub commented 12 years ago

Removed old Array.map with JQuery.map SHA: dc6deb2042c63e5f77dc892b345ed1f770b1bf0e

LDHgithub commented 12 years ago

There is a lot of CSS, that is really OFF..

LDHgithub commented 12 years ago

new issue on audio playback #353

LDHgithub commented 12 years ago

new issue on scalling #354

LDHgithub commented 12 years ago

new issue on comics #355

mzedeler commented 12 years ago

I have tested this on IE8 and got stuck while trying to play a book. The log looks like this:

[31] === RPC: Calling "getServiceAttributes" ===
[31] <?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope 
 xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
 xmlns:ns1="http://www.daisy.org/ns/daisy-online/"
 xmlns:ns2="http://www.daisy.org/z3986/2005/bookmark/"
>
<SOAP-ENV:Body><ns1:getServiceAttributes></ns1:getServiceAttributes></SOAP-ENV:Body>
</SOAP-ENV:Envelope>
[47] === *** ===
[93] Cache: Reading 'lyt/settings'
[1031] === RPC: Response for action "getServiceAttributes" ===
[object]
[1047] === *** ===
[1062] Player: starting initialization
[1187] Render: init
[1187] Render: setting custom style
[1218] Cache: Reading 'lyt/lastVersion'
[1234] Cache: Reading 'lyt/lastVersion'
[1234] Cache: Writing 'lyt/lastVersion'
[1625] Cache: Reading 'session/credentials'
[1640] Bookshelf: Getting book from 0 to 5
[1656] === RPC: Calling "getContentList" ===
[object Object]
[1672] <?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope 
 xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
 xmlns:ns1="http://www.daisy.org/ns/daisy-online/"
 xmlns:ns2="http://www.daisy.org/z3986/2005/bookmark/"
>
<SOAP-ENV:Body><ns1:getContentList><ns1:id>issued</ns1:id><ns1:firstItem>0</ns1:firstItem><ns1:lastItem>5</ns1:lastItem></ns1:getContentList></SOAP-ENV:Body>
</SOAP-ENV:Envelope>
[1687] === *** ===
[1703] Loader: set: setMessage [object Object]
[2187] Player: event ready: paused: undefined
[2203] Player: initialization complete
[2656] === RPC: Response for action "getContentList" ===
[object]
[2656] === *** ===
[12937] Cache: Reading 'session/memberinfo'
[13781] Cache: Reading 'session/credentials'
[13796] Player: pause: pause at offset undefined
[13827] control: bookPlay: loading book 26232
[13859] === RPC: Calling "issueContent" ===
[object Object]
[13859] <?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope 
 xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
 xmlns:ns1="http://www.daisy.org/ns/daisy-online/"
 xmlns:ns2="http://www.daisy.org/z3986/2005/bookmark/"
>
<SOAP-ENV:Body><ns1:issueContent><ns1:contentID>26232</ns1:contentID></ns1:issueContent></SOAP-ENV:Body>
</SOAP-ENV:Envelope>
[13859] === *** ===
[13952] Player: Loading book 26232, segment null, offset: 0, autoPlay true
[13984] Loader: set: setMessage [object Object]
[15015] === RPC: Response for action "issueContent" ===
[object]
[15015] === *** ===
[15093] === RPC: Calling "getContentResources" ===
[object Object]
[15140] <?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope 
 xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
 xmlns:ns1="http://www.daisy.org/ns/daisy-online/"
 xmlns:ns2="http://www.daisy.org/z3986/2005/bookmark/"
>
<SOAP-ENV:Body><ns1:getContentResources><ns1:contentID>26232</ns1:contentID></ns1:getContentResources></SOAP-ENV:Body>
</SOAP-ENV:Envelope>
[15156] === *** ===
[16874] === RPC: Response for action "getContentResources" ===
[object]
[16874] === *** ===
[16968] DTB: Getting: http://test.m.e17.dk/DodpFiles/10060697/26232/LOCAL/UNI0/262__/26232/ncc.html (2 attempts left) [forceclose ON]
[16984] Book: Getting bookmarks
[17015] === RPC: Calling "getBookmarks" ===
[object Object]
[17077] <?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope 
 xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
 xmlns:ns1="http://www.daisy.org/ns/daisy-online/"
 xmlns:ns2="http://www.daisy.org/z3986/2005/bookmark/"
>
<SOAP-ENV:Body><ns1:getBookmarks><ns1:contentID>26232</ns1:contentID></ns1:getBookmarks></SOAP-ENV:Body>
</SOAP-ENV:Envelope>
[17093] === *** ===
[17124] DTB: Coercing http://test.m.e17.dk/DodpFiles/10060697/26232/LOCAL/UNI0/262__/26232/ncc.html into HTML
[22624] === DTB: Got: http://test.m.e17.dk/DodpFiles/10060697/26232/LOCAL/UNI0/262__/26232/ncc.html ===
[object Object]
[22624] === *** ===
[25077] === RPC: Response for action "getBookmarks" ===
[object]
[25077] === *** ===
[25155] Player: resuming from lastmark SM0007.smil#P_X0003, offset 30
[25171] NccDocument: getSegmentByURL failed with url SM0007.smil#P_X0003
[25171] Playlist: load: queue segment (N/A)
[25171] Player: failed to load url SM0007.smil#P_X0003 - rewinding to start
[25171] Section: loading("http://test.m.e17.dk/mike/SM0000.smil")
[25171] DTB: Getting: undefined (2 attempts left) [forceclose ON]
[25343] Playlist: load: queue segment (N/A)
[25515] DTB: Unexpected failure (2 attempts left)
[25515] DTB: Getting: undefined (1 attempts left) [forceclose ON]
[25733] DTB: Unexpected failure (1 attempts left)
[25733] DTB: Getting: undefined (0 attempts left) [forceclose ON]
[25952] === DTB: Failed to get undefined (status: error) ===
[object Object]
[25952] error
[25952] Not Found
[25952] === *** ===
[25952] Section: Failed to load SMIL-file http://test.m.e17.dk/mike/SM0000.smil
[26046] Control: bookPlay: Failed to load book ID 26232, reason: failed to find segment
[26046] Cache: Reading 'session/credentials'
[26312] Player: failed to find segment

Note the line

[25171] NccDocument: getSegmentByURL failed with url SM0007.smil#P_X0003

and

[25171] DTB: Getting: undefined (2 attempts left) [forceclose ON]
LDHgithub commented 12 years ago

fixed part of IE8 issue SHA: c00f392759de378eb52d348467d6bb64f131f064

LDHgithub commented 12 years ago

Estimated time left: 2 hours

hwh commented 12 years ago

Ok...