Ionic 正在缓冲视频

juud5qan  于 2022-12-08  发布在  Ionic
关注(0)|答案(1)|浏览(124)

Stack: "@ionic/vue": "^6.0.0", "vue": "^3.2.21", "@capacitor/cli": "3.3.4",
PROBLEM:
IOS: the video is not buffered. the user has to wait until the entire video is downloaded before playing it. the video is saved in vimeo platform.
ANDROID: this problem does not exist here
CODE:

<video controls>
    <source src="https://player.vimeo.com/progressive_redirect/playback/111/rendition/1080p/file.mp4" type="video/mp4">
</video>

expected solution:
I would need to buffer this video. to start immediately after opening and loading the video part
Thanks for help.

1zmg4dgp

1zmg4dgp1#

您可以使用以下命令:

<iframe src="https://player.vimeo.com/video/731378604?h=555b720291" width="640" 
height="360" frameborder="0" allow="autoplay; fullscreen; picture-in-picture" 
allowfullscreen></iframe>
<p><a href="https://vimeo.com/731378604">ADIDAS FT. RICK &amp; MORTY - X 
SPEEDPORTAL</a> from <a href="https://vimeo.com/user30235767">Elise 
Hagedoorn</a> on <a href="https://vimeo.com">Vimeo</a>.</p>

相关问题