Jump to content

MP4 在Android下正常,IOS下不正常

Recommended Posts


代码很简单。 放一个unimHTMLFrame 放一个unimButton. 点击 button 运行下面的代码:

   with UnimHTMLFrame1.HTML do
    Add('<video style="width:100%; height:auto; object-fit: cover" src="files/1.MP4" controls > </video>')

在Android 手机上一切正常 在苹果手机上,视频就播放不出来。


<video style="object-fit: cover"; src="1.MP4"  width="100%" controls > </video>

这个HTML文件,在苹果手机和Android 手机上又都正常。 在知道是什么原因。

另外这个论坛 不会用,不知道怎么添加附件。甚至之前的贴子都不知道如何回复。 版本:。





Link to post
Share on other sites
  • 6 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...