Closed schilpr-TT closed 1 year ago
We're using Dart with Flutter and try to embed a video in a webview/iframe.
Functionality is as we would expect on all platforms except Android. Full-screen is the main feature that is not working and critical for our app.
We have created a test app to isolate the problem, I've included the core code of that below.
How do we resolve this issue?
Best regards,
Rob
import 'package:flutter/material.dart'; import 'package:flutter_html/flutter_html.dart' as flutter_html; void main() { runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({Key? key}) : super(key: key); @override Widget build(BuildContext context) { return const MaterialApp( home: MyHomePage(), ); } } class MyHomePage extends StatefulWidget { const MyHomePage({Key? key}) : super(key: key); @override State<MyHomePage> createState() => _MyHomePageState(); } class _MyHomePageState extends State<MyHomePage> { String vimeo = '<iframe src="https://player.vimeo.com/video/788635711?h=2edc20cdaf&badge=0&autopause=0&player_id=0&app_id=58479" frameborder="0" allow="autoplay; fullscreen; picture-in-picture"; webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>'; // String youtube = // '<iframe width="560" height="315" src="https://www.youtube.com/embed/EusxDAbXv7o" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>'; @override Widget build(BuildContext context) { return Scaffold( body: Center( child: flutter_html.Html( data: vimeo, ), ), ); } }
This is not for this package, it looks like it's potentially for an android package or the player.
Either way, unrelated to vimeo.js.
We're using Dart with Flutter and try to embed a video in a webview/iframe.
Functionality is as we would expect on all platforms except Android. Full-screen is the main feature that is not working and critical for our app.
We have created a test app to isolate the problem, I've included the core code of that below.
How do we resolve this issue?
Best regards,
Rob