Closed GoogleCodeExporter closed 9 years ago
I do not get what you intend to do?
You can't exit full screen mode? or
you want to be full screen mode only?
Original comment by sbrah...@gmail.com
on 10 Jul 2013 at 8:15
no video is rendered on normal mode
Original comment by kaloyan....@gmail.com
on 10 Jul 2013 at 8:34
hi ,would you please take a look at these question ,I even cann't ....
http://stackoverflow.com/questions/17606667/bst-player-gwt-media-container-can-n
ot-fully-show
Original comment by guotong1...@gmail.com
on 12 Jul 2013 at 6:47
have you used player.setResizeToVideoSive(true)?
It automatically adjust the panel size to match the dimensions of the video
Original comment by sbrah...@gmail.com
on 12 Jul 2013 at 10:32
You can also specify the 'height' and 'width' when creating the player widget
as:
new WinMediaPlayer('wma file', autoplay, 'height' width');
HTH
Original comment by sbrah...@gmail.com
on 12 Jul 2013 at 10:35
player.setResizeToVideoSize(true); doesnt change anything, This could be flow
of my architecture I m using UI binder with MVP, so activity call method from
view which adds the panel to center of the DockLayoutPanel which is from the UI
binder
Original comment by kaloyan....@gmail.com
on 12 Jul 2013 at 10:47
You can also call the player directly with UiBinder:
http://oss.bramosystems.com/bst-player/ui-binder
If you create the player without a specific 'height'/'width', the
FlashMediaPlayer uses 50px height and 100% width by default. That will only
show the controls. So for video I recommend you specify the 'height'/'width'
when creating the player.
You may want to use a 'height' of 250px for example.
Original comment by sbrah...@gmail.com
on 12 Jul 2013 at 11:02
player = new FlashMediaPlayer("http://127.0.0.1:8888/bunny.flv", true, "300px"
, "400px"); solved the issue, sorry for the noise
Original comment by kaloyan....@gmail.com
on 12 Jul 2013 at 11:11
Glad you got it working
Cheers.
Original comment by sbrah...@gmail.com
on 12 Jul 2013 at 12:19
Do your talks above solve my problem?...
http://stackoverflow.com/questions/17606667/bst-player-gwt-media-container-can-n
ot-fully-show
Original comment by guotong1...@gmail.com
on 12 Jul 2013 at 2:18
I believe it should. Do check and let me know
Original comment by sbrah...@gmail.com
on 12 Jul 2013 at 2:45
SimplePanel panel = new SimplePanel();
panel.setSize("1000px", "1000px");
AbstractMediaPlayer player = null;
try {
player = new WinMediaPlayer("C:/Documents and Settings/dell/Application Data/Tencent/QQMusic/Cache/WhirlCache/转身之间.mp3", true, "300px", "400px");
player.setResizeToVideoSize(true);
panel.setWidget(player);
} catch (PluginVersionException e) {
panel.setWidget(new HTML(
".. some nice message telling the user to download plugin first .."));
} catch (PluginNotFoundException e) {
panel.setWidget(new HTML(
".. another nice message telling the user to download plugin.."));
}
add(panel);
http://stackoverflow.com/questions/17606667/bst-player-gwt-media-container-can-n
ot-fully-show
it still doesn't work. What's wrong with my computer...
Original comment by guotong1...@gmail.com
on 15 Jul 2013 at 2:29
I've re-opened the WinMediaPlayer issue as Issue 71. It's different from the
issue here...
Original comment by sbrah...@gmail.com
on 15 Jul 2013 at 12:01
Thank you very much and sorry for the noise
Original comment by guotong1...@gmail.com
on 16 Jul 2013 at 1:19
Original issue reported on code.google.com by
kaloyan....@gmail.com
on 10 Jul 2013 at 7:11Attachments: