webcompat / web-bugs

A place to report bugs on websites.
https://webcompat.com
Mozilla Public License 2.0
727 stars 63 forks source link

tieba.baidu.com - Automatic audio playback is not blocked on the second page #92613

Open webcompat-bot opened 2 years ago

webcompat-bot commented 2 years ago

URL: https://tieba.baidu.com/f?ie=utf-8&kw=%E7%81%AB%E5%BD%B1%E5%BF%8D%E8%80%85&fr=search

Browser / Version: Firefox 94.0 Operating System: Windows 10 Tested Another Browser: Yes Chrome

Problem type: Something else Description: Prevent automatic audio playback function failure Steps to Reproduce: Firefox only blocks the automatic audio playback of the first open web page, but if you use the page turning function in the web page to enter the next page, the automatic audio playback blocking function will fail.

Browser Configuration
  • None

From webcompat.com with ❤️

softvision-oana-arbuzov commented 2 years ago

Thanks for the report, I was able to reproduce the issue. Audio is blocked when accessing the page (even if the first video starts to play), but navigating to the next page, the audio starts to play (for the first video on the page) image image

Video on first page:

<div class="threadlist_video">
 <img src="http://tiebapic.baidu.com/forum/pic/item/9313b07eca8065386aca2ffed2dda144ad34823f.jpg" style="opacity: 0;">
 <a rel="noreferrer" href="#" data-threadid="7600770021" data-forumid="110019" data-isfive="0" data-video="https://tb-video.bdstatic.com/tieba-smallvideo-transcode-cae/24136186_7753561c07404660d637af339c7ff3b8_36bb0c705141_0_cae3.mp4?vt=0&amp;pt=3&amp;ver=&amp;cr=3&amp;cd=4&amp;sid=&amp;ft=8&amp;tbau=2021-11-09_234b75816840a3bea16ba77ff671dc4dda7609d3afb34d9a245c97dda43b6c0e&amp;ptid=7600770021" data-vsrc="http://tieba.baidu.com/mo/q/movideo/page?thumbnail=9313b07eca8065386aca2ffed2dda144ad34823f&amp;video=24136186_7753561c07404660d637af339c7ff3b8_36bb0c705141&amp;product=tieba-movideo" data-type="movideo" data-duration="" class="threadlist_btn_play j_m_flash" style="opacity: 0;"></a>
 <video class="video_auto" autoplay="" muted="" src="https://tb-video.bdstatic.com/tieba-smallvideo-transcode-cae/24136186_7753561c07404660d637af339c7ff3b8_36bb0c705141_0_cae3.mp4?vt=0&amp;pt=3&amp;ver=&amp;cr=3&amp;cd=4&amp;sid=&amp;ft=8&amp;tbau=2021-11-09_234b75816840a3bea16ba77ff671dc4dda7609d3afb34d9a245c97dda43b6c0e&amp;ptid=7600770021" width="240" height="135"></video>
</div>

Video on second page:

<div class="threadlist_video">
 <img src="http://tiebapic.baidu.com/forum/pic/item/7d1ed21b0ef41bd595239ce20cda81cb39db3db7.jpg" style="opacity: 0;">
 <a rel="noreferrer" href="#" data-threadid="7601900983" data-forumid="110019" data-isfive="0" data-video="https://tb-video.bdstatic.com/tieba-smallvideo-transcode-crf/35246125_a7b8089623d21513f45fddff46a1f817_2063fbd565f5_0.mp4?vt=0&amp;pt=3&amp;ver=&amp;cr=3&amp;cd=0&amp;sid=&amp;ft=8&amp;tbau=2021-11-09_ab4b5cbf708f793be51e30a85f76dd3525db54eaf91483a24eb23562dcfbe300&amp;ptid=7601900983" data-vsrc="http://tieba.baidu.com/mo/q/movideo/page?thumbnail=7d1ed21b0ef41bd595239ce20cda81cb39db3db7&amp;video=35246125_a7b8089623d21513f45fddff46a1f817_2063fbd565f5&amp;product=tieba-movideo" data-type="movideo" data-duration="" class="threadlist_btn_play j_m_flash" style="opacity: 0;"></a>
 <video class="video_auto" autoplay="" src="https://tb-video.bdstatic.com/tieba-smallvideo-transcode-crf/35246125_a7b8089623d21513f45fddff46a1f817_2063fbd565f5_0.mp4?vt=0&amp;pt=3&amp;ver=&amp;cr=3&amp;cd=0&amp;sid=&amp;ft=8&amp;tbau=2021-11-09_ab4b5cbf708f793be51e30a85f76dd3525db54eaf91483a24eb23562dcfbe300&amp;ptid=7601900983" muted="" width="240" height="135"></video>
 <video class="video_auto" autoplay="" src="https://tb-video.bdstatic.com/tieba-smallvideo-transcode-crf/35246125_a7b8089623d21513f45fddff46a1f817_2063fbd565f5_0.mp4?vt=0&amp;pt=3&amp;ver=&amp;cr=3&amp;cd=0&amp;sid=&amp;ft=8&amp;tbau=2021-11-09_ab4b5cbf708f793be51e30a85f76dd3525db54eaf91483a24eb23562dcfbe300&amp;ptid=7601900983" muted="" width="240" height="135"></video>
</div>

Note: The issue is not reproducible on Chrome.

Tested with: Browser / Version: Firefox Nightly 96.0a1 (2021-11-07) Operating System: Windows 10 Pro

Moving to Needsdiagnosis for further investigation.

softvision-raul-bucata commented 1 year ago

The issue is still reproducible

Tested with:

Browser / Version: Firefox Nightly 108.0a1 (2022-11-16) (64-bit) Operating System: Windows 10 PRO x64

[inv_46/2022]