移动设备上的 Soundcloud 嵌入式播放器 [英] Soundcloud embedded player on mobile

查看:21
本文介绍了移动设备上的 Soundcloud 嵌入式播放器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以下是 HTML 页面上的 SoundCloud 嵌入式播放器在移动设备上的样子:

Here is how a SoundCloud embedded player on a HTML page looks like on mobile device:

这很烦人,因为用户必须单击在浏览器中收听",然后通常不会像应有的那样开始,因此用户必须再次单击暂停"按钮和播放".

It's rather annoying, because the user has to click "Listen in browser", and then, often, it doesn't start like it should, and so the user has to click "Pause" button and "Play" again.

如何在移动设备上保持正常外观?:

这是嵌入代码的示例:

<iframe width="100%" height="166" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/271188615&amp;color=ff5500&amp;auto_play=false&amp;hide_related=false&amp;show_comments=true&amp;show_user=true&amp;show_reposts=false"></iframe>

推荐答案

使用 show_teaser=false 作为参数隐藏叠加层.

Use show_teaser=false as parameter to hide the overlay.

这篇关于移动设备上的 Soundcloud 嵌入式播放器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆