Comments (3)
Thanks for filing the issue. Can you please share the steps to reproduce the issue.
from pod_player.
Download the example app and do these changes:
from_vimeo_id.dart
import 'package:flutter/material.dart';
class PlayVideoFromVimeoId extends StatefulWidget {
const PlayVideoFromVimeoId({Key? key}) : super(key: key);
@override
State<PlayVideoFromVimeoId> createState() => _PlayVideoFromVimeoIdState();
}
class _PlayVideoFromVimeoIdState extends State<PlayVideoFromVimeoId> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: const Text('Vimeo Player')),
body: SafeArea(
child: Center(
child: ListView.separated(
itemCount: 25,
separatorBuilder: (ctx, index) {
return const SizedBox(
height: 10,
);
},
itemBuilder: (ctx, index) {
return const VideoItem();
},
shrinkWrap: true,
),
),
),
);
}
}
video_item.dart
import 'package:flutter/material.dart';
import 'package:pod_player/pod_player.dart';
class VideoItem extends StatefulWidget {
const VideoItem({Key? key}) : super(key: key);
@override
State<VideoItem> createState() => _VideoItemState();
}
class _VideoItemState extends State<VideoItem>
with AutomaticKeepAliveClientMixin {
late final PodPlayerController controller;
@override
bool get wantKeepAlive => true;
@override
void dispose() {
super.dispose();
controller.dispose();
}
@override
void initState() {
controller = PodPlayerController(
podPlayerConfig: const PodPlayerConfig(wakelockEnabled: true,autoPlay: false),
playVideoFrom: PlayVideoFrom.vimeo('306495342'),
)..initialise();
super.initState();
}
@override
Widget build(BuildContext context) {
super.build(context);
return PodVideoPlayer(
controller: controller,
alwaysShowProgressBar: false,
);
}
}
This only happens on iOS
from pod_player.
To play list of videos please refer this example
https://github.com/newtaDev/pod_player/blob/master/example/lib/examples/play_list_of_videos.dart
from pod_player.
Related Issues (20)
- Dont working fullscreen function on Iphone web (Safari an Chrome) HOT 2
- Video freezed when seek continuously for some time HOT 1
- pause is not working HOT 3
- Custom overlay doesn't work HOT 2
- Unable to play videos on iOS
- youtube live supported for latest version? HOT 2
- Vimeo private video is not working HOT 3
- Mute videos not working HOT 1
- Playing youtube videos on iOS/Android not working HOT 10
- pod_player: `v1.0.0` (Migrate to `flutter_bloc`) HOT 3
- Play video youtube not working on android, ios. HOT 6
- Feature request for an interactive mode with less opaque barrier over video
- Fullscreen vertical HOT 1
- [bug] overflow on full screen bottom sheet HOT 1
- Autoplay is not working in new version
- PlatformException in some device. HOT 1
- Playback exception in some of the video urls
- Side black bars in vertical videos from youtube HOT 1
- Only 360p available in live YouTube videos. HOT 1
- Pod Player Controller failed to initialize
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 pod_player.