Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Feb 2011
    Posts
    75
    Thanks
    9
    Thanked 2 Times in 2 Posts

    Smile embed does not validate

    Hello Everyone

    I am trying to validate my site but I come across a problem with the embed problem what the best way to fix this problem?

    here my code
    Code:
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" height="35" width="350">
    <param name="flashvars" value="audioUrl=<?=$sndtxt;?>">
    <param name="src" value="includes/flash/audio-player.swf">
    <param name="quality" value="best">
    <embed src="includes/flash/audio-player.swf" quality="best" flashvars="audioUrl=<?=$sndtxt;?>" height="27" width="350">
    </object>
    Many Thanks For Replys
    WhatNot

  • #2
    Regular Coder patryk's Avatar
    Join Date
    Oct 2012
    Location
    /dev/couch
    Posts
    398
    Thanks
    2
    Thanked 64 Times in 64 Posts
    give us link to validation resoult.
    what are those <?=$sndtxt;?>?

  • #3
    New Coder
    Join Date
    Feb 2011
    Posts
    75
    Thanks
    9
    Thanked 2 Times in 2 Posts
    hello

    <?=$sndtxt;?> is what used to get the sound name from the sndupload-include.php which gets the clip name from the database and finds the sound file.

    the link that has the player in is http://bumblebeechat.net/profile.php...68617468657265


    here the link that validate
    http://validator.w3.org/check?uri=ht...org%2Fservices

    Many Thanks
    Whatnot

  • #4
    Regular Coder patryk's Avatar
    Join Date
    Oct 2012
    Location
    /dev/couch
    Posts
    398
    Thanks
    2
    Thanked 64 Times in 64 Posts
    i think embed is supported since HTML5 so it won't clear in 4.1

    here's fixed example of your player: http://freedockstar.com/embed-test.php

    check souce

  • #5
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,956
    Thanks
    9
    Thanked 727 Times in 721 Posts
    You can use SWFObject. This validates in HTML4/XHTML1.
    Use the W3C HTML Validator and CSS Validator to check your code and Firebug to see what css is applied to an element
    Read Steve Krug's book Don't Make Me Think - essential reading on web usability
    I don't recommend much, but I do recommend Clook for UK web hosting


  •  

    Posting Permissions

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