About embed midi files on a webpage

后端 未结 7 985
失恋的感觉
失恋的感觉 2021-02-13 19:18

I am working on a project related to vintage web designs. I would like to embed and autoplay a midi file but:

  1. It doesen\'t work on IOS (I tried with my ipad)
7条回答
  •  别那么骄傲
    2021-02-13 19:59

    Yes, the embed tag is reserved for plugins, which Mobile Safari doesn't support.

    Take a look at HTML5 audio tag, which is supported by most browsers.

    But please don't play music on a webpage... it's annoying - most either listens to music, have the speakers turned off, or are at the office.

提交回复
热议问题