Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default Re: HTML5 Native Audio players in Zen Cart

    Quote Originally Posted by Yolanda View Post
    Of course I changed the doc type of my Zen Cart to html5.
    Yolanda


    Don't change doctype unless you are SURE that every element of every generated page is guaranteed to create HTML of the doctype you specify.

    And quite frankly, it looks like you wouldn't know where to begin on this massive task.

    Leave DocType as it is - even in wordpress. You did not develop the program, so leave the doctype statements to the people who HAVE developed the program, and trust that it is the correct statement for the program and version you are running.
    20 years a Zencart User

  2. #2
    Join Date
    Jul 2009
    Posts
    101
    Plugin Contributions
    0

    Default Re: HTML5 Native Audio players in Zen Cart

    That was helpful! Changing the doc type is not the issue I believe. From XHTML Transitional to HTML is quite simple and the code will be just fine. Are you familiar with HTML5 at all? Basically... it goes back to the old HTML coding with NEW elements and therefore new functionalities. XHTML coding can still be used as can be HTML. HTML5 has huge advantages however, most notably in the mobile market.

    Anyway... to get back to my immediate problem mentioned earlier. I am drawing in the audio files from my other website because they don't work out of Zen Cart the way I need them to..

    Yolanda

    Quote Originally Posted by schoolboy View Post


    Don't change doctype unless you are SURE that every element of every generated page is guaranteed to create HTML of the doctype you specify.

    And quite frankly, it looks like you wouldn't know where to begin on this massive task.

    Leave DocType as it is - even in wordpress. You did not develop the program, so leave the doctype statements to the people who HAVE developed the program, and trust that it is the correct statement for the program and version you are running.

  3. #3
    Join Date
    Jul 2009
    Posts
    101
    Plugin Contributions
    0

    Default Re: HTML5 Native Audio players in Zen Cart

    Well... still haven't found a good answer why I can't load those audio files within my Zen Cart installation. But... I am drawing them in from my other site and that seems to work fine. I am only talking about sample audio files, not the ones I have for download and purchase. Those work. I tested a download.

    I did change the doc type to html (or html5) so I can use some modern tags like audio and video in my code. There's more to that change but I think it works good. Not semantically correct html5 code but both formats html and html5 work fine together. Plus I want the native audio to show up in XP (IE8 or earlier), IE9, FF and mobile browsers.
    If someone wants to take a look and let me know if indeed it works for them... that would be great.
    http://music.shredmistress.net

    Also, happy holidays and thank you always for the support and this forum.
    Yolanda

    Quote Originally Posted by Yolanda View Post
    That was helpful! Changing the doc type is not the issue I believe. From XHTML Transitional to HTML is quite simple and the code will be just fine. Are you familiar with HTML5 at all? Basically... it goes back to the old HTML coding with NEW elements and therefore new functionalities. XHTML coding can still be used as can be HTML. HTML5 has huge advantages however, most notably in the mobile market.

    Anyway... to get back to my immediate problem mentioned earlier. I am drawing in the audio files from my other website because they don't work out of Zen Cart the way I need them to..

    Yolanda

 

 

Similar Threads

  1. Adding JS Html5 Audio Player to Description
    By chriscana in forum General Questions
    Replies: 17
    Last Post: 15 Jun 2016, 02:11 PM
  2. v151 Play and pause so only one HTML5 audio element at a time plays on my website.
    By jeffmic in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 13 Sep 2013, 10:38 AM
  3. Music Players?
    By gizzy in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 Jan 2011, 07:56 PM
  4. Quantity Discounts native in 1.37 ?
    By snarkys in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 2
    Last Post: 5 Jul 2007, 06:26 AM
  5. Any recommended MP3 Music Players I can embed?
    By davestrand in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 19 May 2007, 04:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg