greengeek
greengeek
Offline
0
This is probably more of a joomla newbie question, but I am hoping someone can help. I noticed on my website that the jw player module causes some issues in IE7/IE8 on my homepage as well as on my Create a new artist and Create a new album pages. It gives me the "HTML Parsing Error: Unable to modify the parent container element before the child element is closed " on some pages.

It looks like on your demo site you have the jw player module disabled on the create a new album and the create a new artist pages. How can I disable the jw player module to not show up on these pages as well as the home page?

Thank you.
Responses (21)
  • Accepted Answer

    Thursday, March 18 2010, 05:04 PM - #Permalink
    0
    just go to the module and select on wich MENU ITEMS you want the module to be rendered... and select only those here you want it to appear.
    The reply is currently minimized Show
  • Accepted Answer

    greengeek
    greengeek
    Offline
    Friday, March 19 2010, 01:59 AM - #Permalink
    0
    Thanks for the response. I am probably doing it wrong. I went into the jw player module, and under menu selection selected all but home page. Now if I click on home, it doesnt show up which is good, and if I click on my music link in the menu it shows up. But soon as I click to go to another page within mc it no longer shows up. Like on an artist view or album view page. Am i overlooking some simple setting? Again sorry for such a newbie question.
    The reply is currently minimized Show
  • Accepted Answer

    greengeek
    greengeek
    Offline
    Friday, March 19 2010, 02:22 AM - #Permalink
    0
    You know I should probably address the real concern instead of asking how to do the work around. The reason I was asking how to do this is because I get an error on some pages when the jw player module is enabled.

    The error only shows up in internet explorer (only have tested it on ie8, haven't tried 7 or 6) and not in firefox. This error happens on my Home page as well as on the Add New Album via the front end and Add New Artist via the front end. What happens on those particular pages is that they do not load fully. The pages load only semi and the browser reports an error. The error it reports is: "HTML Parsing Error:Unable to modify the parent container element before the child element is closed (KB927917)

    Any ideas why this is happening? I noticed on some other threads you made reference to this error and provided an update to the module. Have all those changes been placed in the latest module?

    EDIT: Here is a screenshot: http://threechimps.com/pics/html-parsing-error.jpg
    The reply is currently minimized Show
  • Accepted Answer

    greengeek
    greengeek
    Offline
    Friday, March 19 2010, 08:56 PM - #Permalink
    0
    I noticed this was brought up in topic: http://www.joomlamusicsolutions.com/index.php?option=com_kunena&Itemid=58&func=view&id=3744&catid=11#3744 Any idea how to fix this? It appears to involve the jw player module. If I disable the module on the pages that are getting the error, the error goes away.
    The reply is currently minimized Show
  • Accepted Answer

    greengeek
    greengeek
    Offline
    Monday, March 22 2010, 03:23 PM - #Permalink
    0
    bump :whistle:
    The reply is currently minimized Show
  • Accepted Answer

    Monday, March 22 2010, 05:10 PM - #Permalink
    0
    hey!

    sorry I missed that post. its strange because I though the "defer" fix was included on the module...
    can you check if in the module, a defer="defer" attribute is included on the SCRIPT that generates the flash? (you know what I'm talking about?)
    The reply is currently minimized Show
  • Accepted Answer

    greengeek
    greengeek
    Offline
    Monday, March 22 2010, 08:07 PM - #Permalink
    0
    I am guessing that would be the helper.php file. I am not seeing it in there. I also did a quick search for the word DEFER using dreamweaver on all files within the mod_muscol_jwplayer folder and subfolders and it is not showing up on any document in there. Anything else you would like me to check?

    Thanks for looking.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, March 23 2010, 04:01 PM - #Permalink
    0
    sorry, I meant to search it directly on the HTML code of the page rendered :)

    well, you can check it on /modules/mod_muscol_jwplayer/helper.php on line 78 approx, where a script tag is printed, there should be the attribut defer='defer'

    its not there??
    The reply is currently minimized Show
  • Accepted Answer

    greengeek
    greengeek
    Offline
    Tuesday, March 23 2010, 05:58 PM - #Permalink
    0
    No, it is not on the HTML code of the page rendered.

    No, it is not anywhere in the code on the /modules/mod_muscol_jwplayer/helper.php


    Here is what the code looks like on that page. I included just lines 68-96

    http://pastebin.ca/1850572


    The module is unedited from when I downloaded it from your site about 2 weeks ago or so. Please let me know if you need any further information.
    The reply is currently minimized Show
  • Accepted Answer

    greengeek
    greengeek
    Offline
    Tuesday, March 23 2010, 06:16 PM - #Permalink
    0
    On line 77 and line 168 I just made a change that seems to work.

    I changed

    script type='text/javascript'


    to

    script type='text/javascript' defer='defer'


    the page now loads in ie8. Did I do it right? Is there anything else I need to change as well? Thanks

    EDIT: Nope I don't think I did it right. After those changes, the home page won't load and still gives me the same errors. At least now I can get past them in ie8 if i refresh a few times to make the whole page load. Any suggestions?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, March 23 2010, 06:38 PM - #Permalink
    0
    hmm....

    yes that was the trick, the strange thing is that I though this was already included on the module distribution...

    the alternative is to try to load the player after the page is completely loaded...

    I'll try to make a new version of the module for that purpose.
    The reply is currently minimized Show
  • Accepted Answer

    greengeek
    greengeek
    Offline
    Tuesday, March 23 2010, 06:40 PM - #Permalink
    0
    Awesome. Thank you!
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, March 23 2010, 06:58 PM - #Permalink
    0
    ok, first test:

    give it a try. you'll need to uninstall your current jwplayer module first, and then install this one (wich I numbered 2.0.1)
    [file name=mod_muscol_jwplayer_2.zip size=11217]http://joomlamusicsolutions.com/images/fbfiles/files/mod_muscol_jwplayer_2.zip[/file]
    Attachments:
    The reply is currently minimized Show
  • Accepted Answer

    greengeek
    greengeek
    Offline
    Tuesday, March 23 2010, 07:26 PM - #Permalink
    0
    Will try it now.
    The reply is currently minimized Show
  • Accepted Answer

    greengeek
    greengeek
    Offline
    Tuesday, March 23 2010, 07:57 PM - #Permalink
    0
    At first glance, the pages now appear to load both in firefox and ie8 without issues :)

    Setting the dimensions of the player via the module doesn't seem to be working anymore though.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, March 23 2010, 07:58 PM - #Permalink
    0
    :lol:

    really? I didnt changed anything of that... :S
    let me see...

    anyway I'm really glad the other thing got solved
    The reply is currently minimized Show
  • Accepted Answer

    greengeek
    greengeek
    Offline
    Tuesday, March 23 2010, 08:55 PM - #Permalink
    0
    Lol, false alarm on the layout not changing. Looks like it didn't save my settings when i changed them in the module last. Probably in my haste to test it, I clicked out of the page to soon. :whistle: I changed the layout on the Module Parameters and they changed on the site as well.

    So far everything is still looking good. The pages are still loading in ie8 with your new changes without problem. :)
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, March 23 2010, 09:01 PM - #Permalink
    0
    oh.. that makes sense :lol: there was no explainable reason for the params not working... :lol:

    so.. good news so far, huh? :)
    The reply is currently minimized Show
  • Accepted Answer

    greengeek
    greengeek
    Offline
    Tuesday, March 23 2010, 09:02 PM - #Permalink
    0
    Yep, looking good! Thank you TONS!!!!
    The reply is currently minimized Show
  • Accepted Answer

    Siasb
    Siasb
    Offline
    Sunday, March 28 2010, 06:56 AM - #Permalink
    0
    Germi,

    Thanks a lot for this update. I realized when the user is logged in, IE still gives problems and defer attribute that I added on the earlier version was not helping. I upgraded to this latest version (2.0.1) from 1.5.1 and added my modifications. It now works fine. One thing I noticed, not sure if it’s my setup or if it can be seen in the standard release: Is that when we refresh the list in the popped up window in IE (FF works fine), it refreshes the list; however, the thumbnails and player loaded images are either not shown or partially shown. When we click on a song, it plays fine, and the image is loaded in the player area, but the thumbnails are still off. A minor thing, but wanted to note it.
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, March 28 2010, 10:36 AM - #Permalink
    0
    strange...

    well, thanks for noticing :)

    anyway its a good new that version 2.0.1 of the player seems to work fine for IE.. (FINALLY!!!!)
    The reply is currently minimized Show
Your Reply