Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove 'autoplay' tag #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Remove 'autoplay' tag #7

wants to merge 1 commit into from

Conversation

nehakain
Copy link

HTML5 doesn't support 'autoplay' tag in smarthub application so it should be replaced with manually asking video to play.

HTML5 doesn't support 'autoplay' tag in smarthub application so it should be replaced with manually asking video to play.
Copy link
Author

@nehakain nehakain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to W3C standard, HTML5 should provide the implementation of 'autoplay' tag. If this tag is set, then if the web page or application contains any video element then it will start playing the video as soon as the application has started.
It is acceptable for web application but not for smarthub application because in that case switching of resources is not that quick. Due to this it gives unexpected results so it is not allowed by web engine. Thus 'autoplay' tag should be removed and video should play explicitly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant