Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Web Design (WordPress, Joomla, etc.) Trouble working this one webpage on a Smartphone, any ideas why?

  • Trouble working this one webpage on a Smartphone, any ideas why?

    Posted by Jeremy Chopra on July 23, 2012 at 4:52 pm

    Hi all

    Just curious as to if you guys think this is a code problem or a phone problem..

    I have just finished a page within my site that has a video in it that plays off the JW player. Now the page loads up to about 80% on my Samsung galaxy s2 (android) loading in everything off the page except when it gets to loading the player (not the video streaming just the player!) it closes the window effectively crashing the browser.

    The page is working completely fine on all browers on my computer (IE, FF, Safari, Chrome)

    The odd thing is I have a swf player in another page on the site which plays completely fine on the phone.. But this page does not.

    Is the problem with the JW player? or some other code on the page?

    the page in question is: https://www.cascadepictures.co.uk/reel

    Thanks for any ideas you may have..

    http://www.cascadepictures.co.uk

    Jeremy Chopra replied 13 years, 9 months ago 3 Members · 6 Replies
  • 6 Replies
  • Curtis Thompson

    July 23, 2012 at 5:19 pm

    hello…

    w/o access to that type of phone, i can’t really do any sort of testing to try to answer this question for you, so i’d recommend doing what we did on the other thread – take the jw player code (amd just that) out of the page and put it in a single blank page and then try to load that on the android phone…if it doesn’t crash, then take it out of the bigger page and see if the page crashes. sort of a iterative debug process. best way to go about it…

    hope that helps!

    sitruc

  • Jeremy Chopra

    July 23, 2012 at 10:11 pm

    Hi again Curtis

    Thanks for the post..

    Yes I may well do that again but I think there is something else going on in this case as I think the issue was there even before I switched to the JW player. It may well be the new ICS android that is having a problem but it seems very random and not related to the video player so was hopeing there was some rogue code I somehow have in the page that is causing the issue, but is really a stab in the dark to anyone who may have encountered this already or similar..

    I will trial and error through it to see what I can discover by doing as you’ve suggested. If I manage to solve it I will post here.

    thanks again

    http://www.cascadepictures.co.uk

  • Mike Smith

    July 24, 2012 at 2:30 pm

    If another page loads the player it sounds like the page has the problem, not the browser. If some browsers can manage the page and some can’t, that raises the thought of hmtl or script errors, which browsers handle in different ways: android isn’t handling such an error well on this page, if there is such an error.

    For the javascript, you may do well to look closely at exacly what you’ve done differently between the two pages.

    For the html, you can see your errors via the w3c checker, and correct them and see if that helps ….
    https://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.cascadepictures.co.uk%2Freel
    https://jigsaw.w3.org/css-validator/validator?profile=css21&warning=0&uri=http%3A%2F%2Fwww.cascadepictures.co.uk%2Freel

  • Jeremy Chopra

    July 24, 2012 at 10:45 pm

    Hi Mike

    Thanks for the suggestions..

    I tried the validation and corrected everything I could. The CSS is perfect now but as for the rest, those I couldn’t fix are from the coding used by JW player and if changed makes the player unusable.

    Other than those parts of the code everything else is fine, yet still the same issue remains. The pages are identical in code otherwise. Its odd though as there doesn’t appear to be any issue of this kind with anyone else using JW player anywhere on the net.
    I’m starting to think more that it is an Android or Samsung issue then..
    I guess its a bug I will have to live with and state that the page will not work on Android unless I find a player without such issues (if indeed those code problems are the issue).

    Can anyone suggest another more reliable player for video content I could use?

    http://www.cascadepictures.co.uk

  • Curtis Thompson

    July 24, 2012 at 11:23 pm

    hello…

    [Jeremy Chopra] ” Can anyone suggest another more reliable player for video content I could use?”

    video for everybody (https://camendesign.com/code/video_for_everybody) is nice and i’ve used it in the past…you also don’t need javascript for this and can do a basic set of embed tags that does the same thing.

    here’s a good reference site if you want more info on html5 video itself:

    https://html5video.org/

    hope that helps!

    sitruc

  • Jeremy Chopra

    July 26, 2012 at 8:53 am

    Thanks Curtis

    Hopefully that does the trick 🙂

    http://www.cascadepictures.co.uk

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy