Jump to content

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


dourg

Recommended Posts

不知道怎么添加附件。

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

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

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

奇怪的是,为了测试,我写了一个静态的页面。

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

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

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

 

 

 

 

Link to comment
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.

Guest
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...