none
HTML5 Audio Tag Implementation with Asp.Net Server Controls

    Pertanyaan

  • Hi,
    I am implementing HTML audio tag element in my ASP.NET Project. i am using Generic Handler For play the audio files but facing one issue on that. The error related with Source of audio tag. So, Attaching the small code of HTML audio tag. Please suggest.

    Here the short code:

    <audio controls>
    <source src='<%# Eval("Id", "./Handlers/XYZ.ashx?Id={0}") %>' type='<%# Eval("FileType") %>' />
    </audio>

    But after debugging it shows the error like "unsupported file format or file path" error comes in audio tag of html5. i think i am not giving the right path of generic handler file path in the source of HTML5 audio tag.

    Thank You

    • Dipindahkan oleh CoolDadTxMVP Jumat, 27 Juli 2018 15.19 ASP.NET related
    Jumat, 27 Juli 2018 08.28

Semua Balasan