Hi, I'm going to help on editing the spec of autoplay detection.
But I found that there are two proposed names for the API on HTMLMediaElement. One is autoplayPolicy from issue#11.
partial interface HTMLMediaElement {
readonly attribute AutoplayPolicy autoplayPolicy;
};
Another one is the canAutoplay from the explainer, and this one returns a boolean.
partial interface HTMLMediaElement {
readonly boolean canAutoplay;
};
Should we decide a final naming and the form for this API before moving things forward? In addition, for the API naming on Document, does everyone agree with using autoplayPolicy like issue#11?
partial interface Document {
readonly attribute AutoplayPolicy autoplayPolicy;
};
Firefox has implemented an exprimental feature called allowedToPlay based on the previous discussion threads and it's easy for us to change that name to the one that we will decide to use for the final decision.
Hi, I'm going to help on editing the spec of autoplay detection.
But I found that there are two proposed names for the API on HTMLMediaElement. One is
autoplayPolicyfrom issue#11.Another one is the
canAutoplayfrom the explainer, and this one returns a boolean.Should we decide a final naming and the form for this API before moving things forward? In addition, for the API naming on
Document, does everyone agree with usingautoplayPolicylike issue#11?Firefox has implemented an exprimental feature called
allowedToPlaybased on the previous discussion threads and it's easy for us to change that name to the one that we will decide to use for the final decision.