Comments (3)
In our design, doorhanger will dismiss when
(1) user press escape
(2) user interacts with doorhanger
(3) user ignores doorhanger and directly play audible video from the page
(4) user navigates to other different document.
In this case, Twitch uses in-document navigation, which is a technique to use same document for presenting different URL. Therefore, the doorhanger won't dismiss unless any of above condition happens.
from autoplay-shield-study.
Because the doorhanger is not dismissed when navigating on the same domain, I have found the following scenario:
[Steps to reproduce]:
- Open the Firefox browser with the profile from the prerequisites.
- Navigate to https://twitch.tv.
- Click on one of the feature games thumbnail, then click on another video.
- Observe the left of the address bar area and the video from the page.
[Actual results]:
- The video automatically starts playing and the doorhanger is dismissed.
Further navigation on the same domain during the same session will no longer trigger the doorhanger and videos will automatically start to play without the user having taken any action on the doorhanger.
Which should be the correct behavior in this situation?
from autoplay-shield-study.
Yes, it's correct behavior. You have activated the document (by clicking), so the site has already been allowed to autoplay afterward. When the audible video starts playing, the doorhanger will dismiss.
from autoplay-shield-study.
Related Issues (18)
- Can't run "npm run test" HOT 1
- Block-autoplay experiment is not removed after its expiration date HOT 5
- The global setting for autoplay sound is wrongly reset after a browser restart HOT 2
- The "Remember this decision" checkbox is checked after a Browser Restart in the "allow-and-notRemember" branch HOT 2
- Clicking the "Allow" button on the doorhanger after waiting 10 seconds doesn't play videos on CNN and DailyMotion HOT 1
- The doorhanger is wrongly dismissed when you click inside the page on several websites HOT 1
- The doorhanger is wrongly dismissed on YouTube when you click specific player buttons. HOT 3
- The survey is not displayed when the user exits the study HOT 1
- The "totalBlockedAudibleMedia" ping's property value does not increase on Release Candidate 63 HOT 1
- Update npm-run-all devDependency
- Provide endings survey HOT 4
- Change testing cohorts HOT 2
- Adding new ping attribute to describe how users interact with prompt HOT 4
- Turn on the flag "removeTestingFlag"
- The "Learn more" button is missing from the "allow-and-remember" and "allow-and-notRemember" branches' doorhanger HOT 1
- The "Undo" option is wrongly displayed after the "Block-autoplay" shield study is removed HOT 1
- The "Block-autoplay" shield study is not removed when the "Disable" button is clicked HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autoplay-shield-study.