Skip to content

[WebView] can't fullscreen html5 video inside iframe #27101

@karnadii

Description

@karnadii

Cannot make html5 video fullscreen. if i open the link in chrome outside the app i can make it fullscreen. but inside the WebView I can't.

 <iframe sandbox="allow-scripts"  src="$url" width="100%" height="100%" frameborder="0" allowfullscreen></iframe>

example link https://gdriveplayer.us/embed2.php?link=NksVbV3wF7dgidJzFWOOIATl%2BxtRZ0XsQZYYOUGdnXgUM6ZTPaxF7TqSGGx1NDwPJC3uobQ%2BbVRo42sF3nSdXSvQzZh8YSYyHu5Hpcpp4f%2Fc1qgjQDnVxEIwIdF6NjNrppP7%2BCi1s8IqCnTpVJMj27XzzphUmrWV6%2FcZDXtOr%2BqzuEdB8jnDu%2B%2BPWroyVZj%2F02J92IIzEfkyxE02N4Q4vg

@override
  Widget build(BuildContext context) {
    return new Scaffold(
      appBar: AppBar(
        title: Text("Title"),
      ),
      body: 
          Container(          
            color: Colors.black,
            child: episode!=null?
            WebView(
              initialUrl: 'http://0.0.0.0:8082?url='+episode.streamUrl,
              javascriptMode: JavascriptMode.unrestricted,
            ):Text('Loading'),
          )
        
      
    );

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: new featureNothing broken; request for a new capabilitycustomer: crowdAffects or could affect many people, though not necessarily a specific customer.found in release: 3.10Found to occur in 3.10found in release: 3.7Found to occur in 3.7has reproducible stepsThe issue has been confirmed reproducible and is ready to work onp: webviewThe WebView pluginpackageflutter/packages repository. See also p: labels.platform-androidAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer versionteam-androidOwned by Android platform teamtriaged-androidTriaged by Android platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions