Results 1 to 3 of 3

Thread: Playing media on an asp.net webpage

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2017
    Location
    Nigeria
    Posts
    257

    Post Playing media on an asp.net webpage

    How can I play an audio file on an Asp.Net webpage?
    Nothing I post is Self Reliable. Use it at your own risk

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,929

    Re: Playing media on an asp.net webpage

    Thread moved from the 'ASP, VB Script' forum to the 'ASP.Net' forum

  3. #3
    King of sapila
    Join Date
    Oct 2006
    Location
    Greece
    Posts
    6,597

    Re: Playing media on an asp.net webpage

    https://www.aspsnippets.com/Articles...ad-option.aspx

    I would prefer JS though
    Code:
    var myaudio = new Audio('myaudiofile.mp3');
    myaudio.play();
    ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
    πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·

Posting Permissions

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



Click Here to Expand Forum to Full Width