Giter VIP home page Giter VIP logo

bst-player's People

Watchers

 avatar

bst-player's Issues

LoadingProgressHandler not working in IE

What steps will reproduce the problem?
1. Pseudocode:

public class MyComposite extends Composite implements LoadingProgressHandler {

   AbstractMediaPlayer _mediaPlayer = null;

   public MyComposite() {
      VerticalPanel mainPanel = new VerticalPanel();    
      ...
      _mediaPlayer = new QuickTimePlayer("somemovie.mp4");
      _mediaPlayer.addLoadingProgressHandler(this);
      mainPanel.setWidget(_mediaPlayer); 
      ...

      initWidget(mainPanel);
   }

   public void onLoadingProgress(LoadingProgressEvent event) {
      System.out.println("event.progress: " + event.getProgress());

      if (event.getProgress() == 1.0d) {
    System.out.println("onLoadingProgress done!");
      }     
   }
}


What is the expected output? What do you see instead?
Expected output is seeing messages written to standard out. Instead nothing 
appears in IE.  Works on other browsers.

What version of the product are you using? On what operating system?
- GWT 2.0.4
- bst-player 1.1
- Internet Explorer 8.0.6xxx

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 1 Aug 2010 at 7:35

Flash Player: progressive HTTP

What steps will reproduce the problem?
Create a player of type FlashMediaPlayer and specify a HTTP URL as path to the 
content. Immediately after creating the player, call the play() function.

What is the expected output? What do you see instead?
My expectation was that the content would start playing immediately and be 
downloaded progressively from the server (supporting scrubbing). It seems 
however that the content first needs to be downloaded completely before it can 
start playing. The call to play results in no action at all.


What version of the product are you using? On what operating system? On
what browser/version?
- Browser: Chrome 9.0.597.98
- BST player 1.2
- OS: Windows 7


Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 15 Feb 2011 at 12:28

NativePlayerImpl#setTime should not return 0 on Exception

Hi, an easy one to fix:

Check com.bramosystems.oss.player.core.client.impl.NativePlayerImpl.java


    public final native void setTime(double time) /*-{
    try {
    this.currentTime = time / 1000;
    } catch(e) {
    return 0;
    }
    }-*/;

the catch block should not return 0, it's a void method!
I think it's better to change the method signature to boolean to know if an js 
exception happen or not setting up the player timer. What do you think?

Thanks.

Original issue reported on code.google.com by [email protected] on 20 Jul 2010 at 4:21

Setting wmode (parameterize properties) on SWFWidget

Hi,

What I'm missing on the SWFWidget is the possibility to set the 'wmode' 
property. Possible values could be: window, opaque, transparent.
For example in the 
com.bramosystems.oss.player.youtube.client.YouTubePlayer class on line# 
128 the 'allowScriptAccess' property is set, and on line# 129 'bgcolor' is 
set. It would be really convenient to parameterize these properties, and 
to add the 'wmode' property for instance.

Thanks in advance for your work.

Kind regards,
Roeland

Original issue reported on code.google.com by [email protected] on 1 Feb 2010 at 1:49

JavaScript Exception is thrown if AUTO player is created without any suitable plugins

What steps will reproduce the problem?
1. Use code from http://oss.bramosystems.com/bst-
player/demo/showcase/index.html#dyn/dyna
2. Load in Browser *without* any suitable plugin (e.g. chromium 32 bit on a 
64 bit linux)
3. catch JavaScriptException

What is the expected output? What do you see instead?
It should throw a PluginNotFoundException, Instead I get a JavaScriptException

What version of the product are you using? On what operating system?
1.0, Linux 64bit

Please provide any additional information below.
The Exception is:
(TypeError): Cannot read property 'enabledPlugin' of undefined stack: 
TypeError: Cannot read property 'enabledPlugin' of undefined at iW
...

Original issue reported on code.google.com by [email protected] on 26 Nov 2009 at 1:22

  • Merged into: #11

Wish: Playlist support for CustomPlayer (Capsule)

It would be nice is playlist support (through JavaScript) would be available 
on the Capsule.

TODO:
- Add prev / next buttons
- Add internal list + state (which item is active)
- On Stop make next item active (if available)

This way playlist support would be available with all plugins / platforms.

Original issue reported on code.google.com by [email protected] on 6 Apr 2010 at 8:13

Autoplay false dont work

What steps will reproduce the problem?
1. follow tutorial sample code

What is the expected output? What do you see instead?
Expected result is no autoplay and correct ussage of the contrl

What version of the product are you using? On what operating system? On
what browser/version?
any

Please provide any additional information below.
Simple like this, dont work:
final AbstractMediaPlayer player = new 
WinMediaPlayer("http://10.0.0.0/grabacion1.wav",false);
always star playing, also i got in this events: play,stop, pause, this error: 
Player not available, create an instance
thanks for your time


Original issue reported on code.google.com by jamesjara on 2 Feb 2011 at 5:13

  • Merged into: #36

Change default behavior for missing video codec metadata

What steps will reproduce the problem?
1. Valid FLV capable of being played does not have video codec meta data
2. When its played with bst-player the video will be black

What is the expected output? What do you see instead?
Black space is seen where video should be.  Sound is heard.

What version of the product are you using? On what operating system?
bst-player 1.0 on Windows 7-64 and Flash 10

Please provide any additional information below.

Since the movie is going to play anyway (sound is heard), mine as well
default to the player to determine if it should be shown or not rather than
make the decision in the application.  I built my own version of 1.0 that
releases this issue by modifying:

File: bst-flash-player\src\main\flex\com\bramosystems\oss\player\VideoEngine.as

Method: metadataHandler

Line: 121 (in version 1.0 tag)

Change:  Add "visible = true;" in default section of video codec. 

Original issue reported on code.google.com by [email protected] on 8 Dec 2009 at 9:21

WMP Plugin fails if no WMP is available

The WMP plugin fails on systems without the WMP with the following error 
message:

(TypeError): Cannot read property 'enabledPlugin' of undefined
 stack: TypeError: Cannot read property 'enabledPlugin' of undefined
    at 
com_bramosystems_oss_player_core_client_impl_PlayerUtilImpl_$getWindowsMedia
PlayerVersion__Lcom_bramosystems_oss_player_core_client_impl_PlayerUtilImpl_
2Lcom_bramosystems_oss_player_core_client_PluginVersion_2 
(http://localhost:8080/music/D33F7AC548F6803CE574A174E836F756.cache.html:267
4:13)

The corresponding function is:
function 
com_bramosystems_oss_player_core_client_impl_PlayerUtilImpl_$getWindowsMedia
PlayerVersion__Lcom_bramosystems_oss_player_core_client_impl_PlayerUtilImpl_
2Lcom_bramosystems_oss_player_core_client_PluginVersion_2(version){
  var found, mt, plug;
  found = false;
  mt = navigator.mimeTypes[$intern_330];
  if (mt) {
    found = true;
  }
   else {
    mt = navigator.mimeTypes[$intern_331];
    plug = mt.enabledPlugin;
    if (plug.name.indexOf($intern_411) != -1) {
      found = true;
    }
  }
  if (found) {
    version.com_bramosystems_oss_player_core_client_PluginVersion_major = 1;
    version.com_bramosystems_oss_player_core_client_PluginVersion_minor = 1;
    version.com_bramosystems_oss_player_core_client_PluginVersion_revision = 
1;
  }
}

where line 2674 is the line "plug = mt.enabledPlugin;"

Original issue reported on code.google.com by [email protected] on 26 Nov 2009 at 2:43

Error calling method on NPObject

What steps will reproduce the problem?
1. Play quicktime movie as documented


What is the expected output? What do you see instead?
The expected output would be the video would play.  Works in bst-player version 
1.1.


What version of the product are you using? On what operating system?
Version: bst-player 1.2
Operating System: Windows 7 Enterprise, Windows XP SP3
Browsers: Google Chrome 8.0.552.224, Firefox 3.6.12, Internet Explorer 
8.0.7600.16385


Please provide any additional information below.
Here is the stack trace:

09:43:45.204 [ERROR] [test] Uncaught exception escaped
com.google.gwt.core.client.JavaScriptException: (Error): Error calling method 
on NPObject!
 fileName: http://127.0.0.1:8888
 lineNumber: 147
 stack: SetControllerVisible(true)@:0
(true)@http://127.0.0.1:8888:147
@:0
([object GWTJavaObject],8978504)@http://127.0.0.1:8888/test/hosted.html?test:56
(792)@http://127.0.0.1:8888:9
((function () {__gwt_makeJavaInvoke(0)(timer, 8978504);}),[object 
XPCCrossOriginWrapper],[object Object])@http://127.0.0.1:8888:12
@:0
(null,65642,(function () {__gwt_makeJavaInvoke(0)(timer, 8978504);}),[object 
XPCCrossOriginWrapper],[object 
Object])@http://127.0.0.1:8888/test/hosted.html?test:56
(792)@http://127.0.0.1:8888:76
    at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:237)
    at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:126)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:269)
    at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
    at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
    at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214)
    at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
    at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
    at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:157)
    at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:281)
    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:531)
    at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
    at java.lang.Thread.run(Unknown Source)

Original issue reported on code.google.com by [email protected] on 16 Dec 2010 at 7:28

Flash Video invisible when started inside PopupPanel

What steps will reproduce the problem?
1. Create a GWT application with the appropriate bst-player references
2. Create a PopupPanel using the provided code below
3. When the application starts the video window will be a large black square 
with audio heard.
4. If you click the full-screen toggle, the application will move to 
full-screen and video will appear
5. If you click the full-screen toggle again, the application will return to 
normal only this time the video will be visible

What is the expected output? What do you see instead?
Expect to see video but only seeing a black box and hearing audio.

Please use labels and text to provide additional information.


Create a simple GWT application with proper bst-player library and XML 
references.  Use this as the main entry point:

public void onModuleLoad() {
    final String fileUrl = "http://www.selikoffsolutions.com/3590.flv";
    final PopupPanel popup = new PopupPanel();
    AbstractMediaPlayer player;
    Widget mp = null;
    try {
        player = new FlashMediaPlayer(fileUrl, true);
        player.setResizeToVideoSize(true);
        popup.setSize("500px", "500px");
        mp = player;
    } catch (PluginNotFoundException e) {
        mp = PlayerUtil.getMissingPluginNotice(Plugin.FlashPlayer,e.getMessage());
    } catch (PluginVersionException e) {
        mp = PlayerUtil.getMissingPluginNotice(Plugin.FlashPlayer,e.getRequiredVersion());
    } catch (LoadException e) {
        mp = PlayerUtil.getMissingPluginNotice(Plugin.FlashPlayer);
    }
    popup.add(mp);
    popup.show();
}

Original issue reported on code.google.com by [email protected] on 30 Nov 2010 at 5:32

build instructions

Could you please add build instructions? I need to build from trunk and now I'm 
getting an error related to flex:

[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] One or more required plugin parameters are invalid/missing for 
'flex2:compile-swf'

[0] Inside the definition for plugin 'maven-flex2-plugin' specify the following:

<configuration>
  ...
  <flexHome>VALUE</flexHome>
</configuration>

-OR-

on the command line, specify: '-Dflex.home=VALUE'

and when adding the flex sdk:

INFO] ------------------------------------------------------------------------
[INFO] Building BST Flash Player
[INFO]    task-segment: [clean, install]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] [flex2:compile-swf {execution: default-compile-swf}]
[INFO] Attaching licenses.
[INFO] Adding Extra Parameters: []
[INFO] Failed to invoke null with parameters: 
[+flexlib=/Users/alejandro/apps/flex_sdk_4.1/frameworks, -load-config, 
/Users/alejandro/apps/flex_sdk_4.1/frameworks/flex-config.xml, -source-path, 
/Users/alejandro/apps/bst-player-read-only/bst-flash-player/src/main/flex, 
-output, 
/Users/alejandro/apps/bst-player-read-only/bst-flash-player/target/bst-flash-pla
yer-1.1.1-SNAPSHOT.swf, -compiler.locale, en_US, -use-network, 
-compiler.debug=false, --, Main.mxml]
[INFO] java.lang.ClassNotFoundException: flex2.tools.Compiler
[INFO]  at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
[INFO]  at java.security.AccessController.doPrivileged(Native Method)
[INFO]  at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
[INFO]  at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
[INFO]  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
[INFO]  at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
[INFO]  at 
net.israfil.mojo.flex2.StreamedParameterExecutableWrapper.main(StreamedParameter
ExecutableWrapper.java:58)
[INFO] Exception in thread "main" java.lang.RuntimeException: 
java.lang.ClassNotFoundException: flex2.tools.Compiler
[INFO]  at 
net.israfil.mojo.flex2.StreamedParameterExecutableWrapper.main(StreamedParameter
ExecutableWrapper.java:66)
[INFO] Caused by: java.lang.ClassNotFoundException: flex2.tools.Compiler
[INFO]  at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
[INFO]  at java.security.AccessController.doPrivileged(Native Method)
[INFO]  at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
[INFO]  at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
[INFO]  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
[INFO]  at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
[INFO]  at 
net.israfil.mojo.flex2.StreamedParameterExecutableWrapper.main(StreamedParameter
ExecutableWrapper.java:58)

Original issue reported on code.google.com by [email protected] on 7 Jul 2010 at 2:03

QuickTime player doesn't work in IE

What steps will reproduce the problem?
1.Try to play some video using QuickTime plugin in IE

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system? On
what browser/version?
bst-player 1.1 or 1.2;
OS: Windows XP;
Browser: IE;

Provide any additional information below.
There is a bug in the class PlayerUtilImplIE: method 
getQuickTimePluginVersion(PluginVersion version) can't detect QuickTime plugin 
even if it is installed. Futhermore if rewrite this method to work correctly 
there is another problem in QTStateManagerIE class: after attaching events in 
registerMediaStateListenerImpl() method they doesn't occure when player changes 
it state.

Original issue reported on code.google.com by [email protected] on 8 Apr 2011 at 12:25

TypeError: Object [object HTMLObjectElement] has no method 'close'

What steps will reproduce the problem?
1. create WinMediaPlayer. E.g.:  WinMediaPlayer("", autostart, 
getHeight(isVideo), getWidth(isVideo));
2. add to a Dialog. add(mediaPlayer, new VBoxLayoutData(mediaPlayerMargins));
3. When running the application, open the dialog and then close it.

What is the expected output? What do you see instead?
Dialog is expected to close properly. Instead, an exception is thrown:

(TypeError): Object [object HTMLObjectElement] has no method 'close'
 stack: TypeError: Object [object HTMLObjectElement] has no method 'close'
    at com_bramosystems_oss_player_core_client_impl_WinMediaPlayerImpl_$close__Lcom_bramosystems_oss_player_core_client_impl_WinMediaPlayerImpl_2V (http://127.0.0.1/scorecard/Scorecard/9359CF2D256DEBB44A0AFCFC5F60F1B5.cache.html:8918:100)
    at Object.com_bramosystems_oss_player_core_client_ui_WinMediaPlayer$1_onBeforeUnload__V [as onBeforeUnload__V] (http://127.0.0.1/scorecard/Scorecard/9359CF2D256DEBB44A0AFCFC5F60F1B5.cache.html:9857:88)
    at Object.com_bramosystems_oss_player_core_client_impl_PlayerWidget_onUnload__V [as onUnload__V] (http://127.0.0.1/scorecard/Scorecard/9359CF2D256DEBB44A0AFCFC5F60F1B5.cache.html:7626:161)
    at com_google_gwt_user_client_ui_Widget_$onDetach__Lcom_google_gwt_user_client_ui_Widget_2V (http://127.0.0.1/scorecard/Scorecard/9359CF2D256DEBB44A0AFCFC5F60F1B5.cache.html:1480:101)
    at Object.com_google_gwt_user_client_ui_Widget_onDetach__V [as onDetach__V] (http://127.0.0.1/scorecard/Scorecard/9359CF2D256DEBB44A0AFCFC5F60F1B5.cache.html:1644:87)
    at Object.com_google_gwt_user_client_ui_AttachDetachException$2_execute__Lcom_google_gwt_user_client_ui_Widget_2V [as execute__Lcom_google_gwt_user_client_ui_Widget_2V] (http://127.0.0.1/scorecard/Scorecard/9359CF2D256DEBB44A0AFCFC5F60F1B5.cache.html:110303:89)
    at com_google_gwt_user_client_ui_AttachDetachException_tryCommand__Ljava_lang_Iterable_2Lcom_google_gwt_user_client_ui_AttachDetachException$Command_2V (http://127.0.0.1/scorecard/Scorecard/9359CF2D256DEBB44A0AFCFC5F60F1B5.cache.html:110226:93)
    at Object.com_google_gwt_user_client_ui_Panel_doDetachChildren__V [as doDetachChildren__V] (http://127.0.0.1/scorecard/Scorecard/9359CF2D256DEBB44A0AFCFC5F60F1B5.cache.html:1760:87)
    at com_google_gwt_user_client_ui_Widget_$onDetach__Lcom_google_gwt_user_client_ui_Widget_2V (http://127.0.0.1/scorecard/Scorecard/9359CF2D256DEBB44A0AFCFC5F60F1B5.cache.html:1489:103)
    at Object.com_google_gwt_user_client_ui_Widget_onDetach__V [as onDetach__V] (http://127.0.0.1/scorecard/Scorecard/9359CF2D256DEBB44A0AFCFC5F60F1B5.cache.html:1644:87)
 type: undefined_method
 arguments: close,[object HTMLObjectElement]

What version of the product are you using? On what operating system?
bst-player 1.1 (also happens with 1.2)
GWT 2.0.3
Google Chrome 9.0.597.47
Windows 7 Professional

Please provide any additional information below.

Works fine with Firefox and IE

Original issue reported on code.google.com by [email protected] on 18 Jan 2011 at 10:46

QuickTimePlayer controls not functioning in various browsers

What steps will reproduce the problem?
1. Adding a QuickTimePlayer to a smartGWT page.
2. Compiling the page.
3. Opening the page in various browsers.

What is the expected output? What do you see instead?
Controls (play, volume, pause) are not working in: Opera, Safari, Hosted Mode 
Browser. Controls 
do work in Firefox.

What version of the product are you using? On what operating system?
0.6 on MacOsX. Developing is done with Eclipse Ganymede using the cypal studio 
Plugin and 
smartGWT.

Please provide any additional information below.
Sample code is provided in the attachment.

Original issue reported on code.google.com by [email protected] on 20 Jul 2009 at 1:21

Attachments:

Only one of three constructors work fine for WinMediaPlayer

player = new WinMediaPlayer("media file URL",false, "???", "???");

Why is this constructor created if we cant replace the '???' arguments with
desired values. This is probably because of the hard coding done at the end
of the method.. i.e.

        playerDiv.setStyleName("");
        playerDiv.setSize("100%", "100%");
        playerDiv.setHorizontalAlignment(HTML.ALIGN_CENTER);

Is this an issue which needs to be rectified in next release only or am
going wrong somewhere, and a proper solution can be given. Any kind of help
would be highly appreciated.

Thanking you,
Nawal Mishra

Original issue reported on code.google.com by [email protected] on 23 Feb 2009 at 7:43

Player factory

Hi,

Since you are using an interface for three kinds of media, do you have an 
idea on how I could automatically call the good constructor depending on 
the type of media I wish to play?

Ex.: 
if the media is a quicktime, use the QuickTime player
etc....

Should you add a factory returning the good implementation of 
AbstractMediaPlayer?

Ex.: player = PlayerFactory(String url); //analyse the url and detects the 
good constructor (QuickTime, MediaPlayer or others...)

- Erick


Original issue reported on code.google.com by [email protected] on 17 Feb 2009 at 4:18

Any idea about this javascript error with the new release. 0.6

In My GWT browser, am getting this error.Do you have any trace..


[ERROR] Uncaught exception escaped
com.google.gwt.core.client.JavaScriptException: (TypeError): Object required
 number: -2146827864
 description: Object required
    at com.bramosystems.gwt.player.client.impl.WinMediaPlayerImpl.stop(Native
Method)
    at
com.bramosystems.gwt.player.client.ui.WinMediaPlayer.onUnload(WinMediaPlayer.jav
a:181)
    at com.google.gwt.user.client.ui.Composite.onDetach(Composite.java:110)
    at com.google.gwt.user.client.ui.Panel.doDetachChildren(Panel.java:174)
    at com.google.gwt.user.client.ui.Widget.onDetach(Widget.java:146)
    at com.google.gwt.user.client.ui.Panel.doDetachChildren(Panel.java:174)
    at com.google.gwt.user.client.ui.Widget.onDetach(Widget.java:146)
    at com.google.gwt.user.client.ui.RootPanel.detachWidgets(RootPanel.java:194)
    at
com.google.gwt.user.client.ui.RootPanel$1.onWindowClosed(RootPanel.java:221)
    at com.google.gwt.user.client.Window.fireClosedImpl(Window.java:465)
    at com.google.gwt.user.client.Window.fireClosedAndCatch(Window.java:456)
    at com.google.gwt.user.client.Window.onClosed(Window.java:430)

Original issue reported on code.google.com by [email protected] on 18 Mar 2009 at 11:36

html5 in chrome (linux) does not support m3u

What steps will reproduce the problem?
1. use bst-player on chrome / linux with native player
2. load an m3u playlist
3. nothing happens

What is the expected output? What do you see instead?
m3u does not play. It should not be in the list of supported extensions for 
chrome. Verified on Linux, probably also on other OSes

What version of the product are you using? On what operating system?
bst-player-api 1.1, linux, chrome

Please provide any additional information below.

Extend MimePoolSafari in 
http://code.google.com/p/bst-player/source/browse/trunk/bst-player-
api/src/main/java/com/bramosystems/oss/player/core/client/impl/MimePool.jav
a

similar as done in:
http://code.google.com/p/bst-player/source/browse/trunk/bst-player-
api/src/main/java/com/bramosystems/oss/player/core/client/impl/NativePlayer
Util.java

with a special list for chrome, and remove m3u and possible others. ( I 
knot what mp3, m4a, and ogg work, so probably all mpeg and ogg types, but 
for sure no quicktime and playlists ).

A possible better solution: use canPlayType('') with known mime-types for 
known extensions and use those to fill the list.

Original issue reported on code.google.com by [email protected] on 6 Apr 2010 at 11:16

Object [object HTMLBodyElement] has no method 'attachEvent' stack

Getting this exception when running the application using GWT codes

What is the expected output? What do you see instead?
Thrown exception:

com.google.gwt.core.client.JavaScriptException: (TypeError): Object [object 
HTMLBodyElement] has no method 'attachEvent'  stack: TypeError: Object [object 
HTMLBodyElement] has no method 'attachEvent'     at [object Object].<anonymous> 
(unknown source)     at __gwt_jsInvoke 
(http://localhost:9088/RaiderWeb/detailscreen/hosted.html?detailscreen:76:35)   
  at 
http://localhost:9088/RaiderWeb/detailscreen/hosted.html?detailscreen:280:16    
 at C 
(http://localhost:9088/RaiderWeb/detailscreen/detailscreen.nocache.js:2:144)    
 at http://localhost:9088/RaiderWeb/detailscreen/detailscreen.nocache.js:9:589  
arguments: attachEvent,[object HTMLBodyElement]  type: undefined_method  
__gwt_ObjectId: 16  at 
com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelSer
ver.java:237)   at 
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:126) 
    at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)  at 
com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:289)     at 
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107
)   at 
com.google.gwt.user.client.impl.DOMImplTrident.initEventSystem(DOMImplTrident.ja
va)     at 
com.google.gwt.user.client.impl.DOMImpl.maybeInitializeEventSystem(DOMImpl.java:
113)    at 
com.google.gwt.user.client.DOM.maybeInitializeEventSystem(DOM.java:1273)    at 
com.google.gwt.user.client.Event$.addNativePreviewHandler(Event.java:417)   at 
com.delta.raider.client.DetailScreen.disableRightClick(DetailScreen.java:116) 
    at com.delta.raider.client.DetailScreen.onModuleLoad(DetailScreen.java:32)  at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45) 
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:37)   at java.lang.reflect.Method.invoke(Method.java:599)     at 
com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:396)   at 
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java
:183)   at 
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelSe
rver.java:510)  at 
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:352)
    at java.lang.Thread.run(Thread.java:735)

What version of the product are you using? On what operating system? On
what browser/version?

XP SP3
IE8 with Google Chrome Frame plugin


Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 27 Apr 2011 at 1:46

Player surrounded by padding in IE

What steps will reproduce the problem?
1. Create a new abstractmediaplayer with a set size
2. View in Interner Explorer

QuickTimePlayer _mediaPlayer = new QuickTimePlayer("somemovie.mp4", false, 
"555px", "720px");
_mediaPlayer.setControllerVisible(true);

What is the expected output? What do you see instead?
The expected output is a video with the specified size, instead there is a 
control larger than specified with the video centered in a black box. Note that 
the controll appears normal in other browsers.

What version of the product are you using? On what operating system?
- bst player 1.1
- GWT 2.0.4
- Internet Explorer 8

Please provide any additional information below.
Please see attached screenshot

Original issue reported on code.google.com by [email protected] on 1 Aug 2010 at 11:35

Attachments:

Flash video does not always size correctly

I'm not sure of all of the exact combinations where the Flash video player is 
not displayed with the correct size, so I'll detail my specific scenario.

What steps will reproduce the problem?
1. 64-bit Linux, Kubuntu 10.10
2. 64-bit Firefox 3.6.13
3. 64-bit Flash 10.3.162.29
4. Using HTML 5 doctype
5. Firefox is in standards mode
6. GWT 2.1.1
7. Using only standards-compliant GWT widgets
8. Video player is in a DialogBox
9. Both DialogBox and PlayerUtil / AbstractMediaPlayer are given specific pixel 
sizes

What is the expected output? What do you see instead?
I expect to see the Flash video player in the correct dimensions.  Instead it 
is much too small.

What version of the product are you using? On what operating system?
bst-player-api-1.2.jar

Please provide any additional information below.

I'm attaching a small patch which fixes the issue.  Files changed are 
PlayerWidget.java and FlashMediaPlayer.java.

Original issue reported on code.google.com by [email protected] on 29 Jan 2011 at 8:13

Attachments:

java.lang.IllegalStateException: Player not available, create an instance

What steps will reproduce the problem?
1. I've used this to instantiate player = new WinMediaPlayer("Movie.AVI", 
false, "150px", "150px");
2. Even though I've mentioned false to auto play but still movie plays when 
page shows up.
3. But when I write following statements player.pauseMedia() or 
player.stopMedia(); it gives me this error message 
(java.lang.IllegalStateException: Player not available, create an instance). 
Even though player variable is not null in this case.

What is the expected output? What do you see instead?
I would like to see movie not autoplay as I've mentioned autoplay as false. 
Then I also want to programatically stop, pause or play video but in this case 
I am not able to do anything as I get IllegalStateException.

What version of the product are you using? On what operating system?
I am using bst-player-api-1.2.jar on Windows 7.


Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 10 Jan 2011 at 6:37

AttachDetachException only on Apple

What steps will reproduce the problem?
1. Project with use of VLCPlayer for Playing a Video.
2. Compiljng  the Project on Winxp. Test with IE7, FireFox, Safari and 
Opera on PC works fine.
3. Installing VLC-Player 1.05 and VLC-Plugin on Apple (Mac OSX 10.6.2)
Transmit the "war"-directory to the Apple-System.

What is the expected output? What do you see instead?
When Starting the HTML-File no Video is displayed. in the Developer-
Console of Safari I've only the Message 
about "AttachDetachException#getCauses".

What version of the product are you using? On what operating system?
Operating System with Problem is Mac OSX 10.6.2

Please provide any additional information below.
I use the VLCPlayer for displaying "flash"-files (flv).

Original issue reported on code.google.com by [email protected] on 10 Mar 2010 at 3:47

Loop forever a flash video do not work

What steps will reproduce the problem?
1. Symbian Browser with Flash Lite, but I thinks this issue can be reproduce 
from any flash player.
2. Source code
FlatVideoPlayer cap = new FlatVideoPlayer(Plugin.FlashPlayer,
                    GWT.getHostPageBaseURL() + "media/spaddeville.flv", autostart, heigth, width);
cap.setLoopCount(-1);
cap.showLogger(false);

What is the expected output? What do you see instead?
I would like that the video repeat but the video stop when it's done.
May be, I have to change update my FLV source code.

What version of the product are you using? On what operating system?
 - BST 1.1.
 - Flash Lite
 - Nokia n8

Original issue reported on code.google.com by [email protected] on 21 Nov 2010 at 10:46

QuickTimePlayer "this.GetPluginVersion" is not a function in Firefox on Mac OS

I have a project which I'm now testing in Firefox 5.0.1. It uses Plugin.Auto in 
my custom audio und video player. Both are not working anymore. The 
Firebug-Console is giving me "this.GetPluginVersion is not a function" when 
trying to load the video (m4v) and "Error calling method on NPObject" when 
starting the player to load an mp3 which worked with firefox 4 before. My 
system is Mac OS 10.7

Original issue reported on code.google.com by [email protected] on 25 Jul 2011 at 7:35

Inherit on "Getting started" wrong

Just a really short issue, because I don't know how to send an email to your 
account.

On the getting started page there is a "typo":

It doesn't tell you to inherit
com.bramosystems.oss.player.core.Core
but
com.bramosystems.gwt.player.core.Core
which doesn't work.

Original issue reported on code.google.com by [email protected] on 28 Jul 2009 at 10:03

Local application cannot access local files by FlashMediaPlayer

What steps will reproduce the problem?
1. Build a GWT application with bst-player included
2. Open appropriate html file of the application locally. Browser should 
display "file:///" at the beginning of page address in Windows
3. Try to play any local file by FlashMediaPlayer
4. The video is not loaded

What is the expected output? What do you see instead?
Local files should be played

What version of the product are you using? On what operating system?
Tried on version 1.1. I believe it is acceptable for any version of bst-player.

Please provide any additional information below.
Flash cannot access local files if swf-file was compiled with use-network=true 
option. You may refer 
http://livedocs.adobe.com/flex/3/html/help.html?content=compilers_14.html for 
further information.

I have recompiled bst-flash-player-1.1.swf with use-network=false, changed jar 
file accordingly and the problem has disappeared.

Original issue reported on code.google.com by [email protected] on 6 Jan 2011 at 10:07

UIMode in WMP

What steps will reproduce the problem?
1. create a WinMediaPlayer instance
2. call setUIMode (either immediately or using DeferredBinding)

What is the expected output? What do you see instead?
the UI Mode should change, it stays full.

What version of the product are you using? On what operating system?
1.0 on windows - chrome

Please provide any additional information below.
I have tried many ways to change the ui mode but never successed.

Also, i think it would be nice to be able to set the uimode in the 
constructor. PlayerScriptUtil.getWMPlayerScript would add the uiMode 
parameter for example.

Original issue reported on code.google.com by [email protected] on 19 Nov 2009 at 4:29

BST Player mp3 format

hii,
 i am using latest Bst player api,when i am using like  (dynamic player) Plugin.getPlayer("media url"),if i mention media as mp3 it trying to render quick time player,bt its not playing ,but i have VLC and windows media player,its trying to getting quick time only,if it getting either  VLC and windows media i can play mp3 files.pls let me know how to resolve this issuse.i have facing so many problem with another formats also.

Original issue reported on code.google.com by [email protected] on 3 Feb 2011 at 4:34

Wish: HTML5 Support

HTML5 supports "audio" and "video" tags. These could be used with the custom 
controls instead of using the plugins.

http://www.whatwg.org/specs/web-apps/current-work/multipage/video.html

Original issue reported on code.google.com by [email protected] on 26 Nov 2009 at 9:28

Video cropped on setting size

What steps will reproduce the problem?
1. Create a player with the following constructor:
AbstractMediaPlayer player = new FlashMediaPlayer(path,true,"100px","100px");
where the movie larger than 100 x 100 pixels.
2. Video display at full size but in cropped window such that you see the
top left corner of the video.
3.  Calling setResizeToVideoSize(true) increases the size of the window
passed 100x100.

What is the expected output? What do you see instead?
Setting the size should resize the video to fit, not crop the video.

What version of the product are you using? On what operating system?
Flash 10 on Windows 7-64.  Since this hasn't been reported before it might
be a player issue.

Please provide any additional information below.

I built my own version of 1.0 that resolves this issue by modifying:

File: bst-flash-player\src\main\flex\Main.mxml

Method: initApp()

Line: 68 (in version 1.0 tag)

Change:  Add two lines to auto-resize video to fit window:
vdu.percentHeight=100;
vdu.percentWidth=100;


Original issue reported on code.google.com by [email protected] on 8 Dec 2009 at 9:56

Any idea about this javascript error with the new release. 0.6

In My GWT browser, am getting this error.Do you have any trace..


[ERROR] Uncaught exception escaped
com.google.gwt.core.client.JavaScriptException: (TypeError): Object required
 number: -2146827864
 description: Object required
    at com.bramosystems.gwt.player.client.impl.WinMediaPlayerImpl.stop(Native
Method)
    at
com.bramosystems.gwt.player.client.ui.WinMediaPlayer.onUnload(WinMediaPlayer.jav
a:181)
    at com.google.gwt.user.client.ui.Composite.onDetach(Composite.java:110)
    at com.google.gwt.user.client.ui.Panel.doDetachChildren(Panel.java:174)
    at com.google.gwt.user.client.ui.Widget.onDetach(Widget.java:146)
    at com.google.gwt.user.client.ui.Panel.doDetachChildren(Panel.java:174)
    at com.google.gwt.user.client.ui.Widget.onDetach(Widget.java:146)
    at com.google.gwt.user.client.ui.RootPanel.detachWidgets(RootPanel.java:194)
    at
com.google.gwt.user.client.ui.RootPanel$1.onWindowClosed(RootPanel.java:221)
    at com.google.gwt.user.client.Window.fireClosedImpl(Window.java:465)
    at com.google.gwt.user.client.Window.fireClosedAndCatch(Window.java:456)
    at com.google.gwt.user.client.Window.onClosed(Window.java:430)

Thanks in advance,
Nawal Mishra

Original issue reported on code.google.com by [email protected] on 18 Mar 2009 at 11:37

Problems with GWT 2.2 on compile

What steps will reproduce the problem?
1. Compile code with 1.2 jar on GWT 2.2
2.
3.

What is the expected output? What do you see instead?
[ERROR] Errors in 
'jar:file:/C:/Documents%20and%20Settings/alan/workspace36/WebFrontEnd/war/WEB-IN
F/lib/bst-player-api-1.2.jar!/com/bramosystems/oss/player/core/client/MimePool.j
ava'
      [ERROR]  Internal compiler error
java.lang.IncompatibleClassChangeError: Found interface 
com.google.gwt.core.ext.typeinfo.JClassType, but class was expected
    at com.bramosystems.oss.player.core.rebind.MimePoolGenerator.generate(MimePoolGenerator.java:59)
    at com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.java:48)
    at com.google.gwt.core.ext.GeneratorExtWrapper.generateIncrementally(GeneratorExtWrapper.java:60)
    at com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:662)
    at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:41)
    at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:74)
    at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:259)
    at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:248)
    at com.google.gwt.dev.DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(DistillerRebindPermutationOracle.java:91)
    at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java:106)
    at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.process(AbstractCompiler.java:254)
    at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:444)
    at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.compile(AbstractCompiler.java:175)
    at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.compile(AbstractCompiler.java:288)
    at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.access$400(AbstractCompiler.java:145)
    at com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java:632)
    at com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations(BasicWebModeCompiler.java:124)
    at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(WebModeCompilerFrontEnd.java:54)
    at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:517)
    at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:35)
    at com.google.gwt.dev.Precompile.precompile(Precompile.java:541)
    at com.google.gwt.dev.Precompile.precompile(Precompile.java:495)
    at com.google.gwt.dev.Precompile.precompile(Precompile.java:407)
    at com.google.gwt.dev.Compiler.run(Compiler.java:215)
    at com.google.gwt.dev.Compiler.run(Compiler.java:187)
    at com.google.gwt.dev.Compiler$1.run(Compiler.java:159)
    at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87)
    at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:81)
    at com.google.gwt.dev.Compiler.main(Compiler.java:166)

[ERROR] Unexpected
java.lang.IncompatibleClassChangeError: Found interface 
com.google.gwt.core.ext.typeinfo.JClassType, but class was expected
    at com.bramosystems.oss.player.core.rebind.MimePoolGenerator.generate(MimePoolGenerator.java:59)
    at com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.java:48)
    at com.google.gwt.core.ext.GeneratorExtWrapper.generateIncrementally(GeneratorExtWrapper.java:60)
    at com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:662)
    at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:41)
    at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:74)
    at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:259)
    at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:248)
    at com.google.gwt.dev.DistillerRebindPermutationOracle.getAllPossibleRebindAnswers(DistillerRebindPermutationOracle.java:91)
    at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.doFindAdditionalTypesUsingRebinds(WebModeCompilerFrontEnd.java:106)
    at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.process(AbstractCompiler.java:254)
    at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:444)
    at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.compile(AbstractCompiler.java:175)
    at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.compile(AbstractCompiler.java:288)
    at com.google.gwt.dev.jdt.AbstractCompiler$Sandbox$CompilerImpl.access$400(AbstractCompiler.java:145)
    at com.google.gwt.dev.jdt.AbstractCompiler.compile(AbstractCompiler.java:632)
    at com.google.gwt.dev.jdt.BasicWebModeCompiler.getCompilationUnitDeclarations(BasicWebModeCompiler.java:124)
    at com.google.gwt.dev.jdt.WebModeCompilerFrontEnd.getCompilationUnitDeclarations(WebModeCompilerFrontEnd.java:54)
    at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:517)
    at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:35)
    at com.google.gwt.dev.Precompile.precompile(Precompile.java:541)
    at com.google.gwt.dev.Precompile.precompile(Precompile.java:495)
    at com.google.gwt.dev.Precompile.precompile(Precompile.java:407)
    at com.google.gwt.dev.Compiler.run(Compiler.java:215)
    at com.google.gwt.dev.Compiler.run(Compiler.java:187)
    at com.google.gwt.dev.Compiler$1.run(Compiler.java:159)
    at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87)
    at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:81)
    at com.google.gwt.dev.Compiler.main(Compiler.java:166)


What version of the product are you using? On what operating system? On
what browser/version?
Under eclipse

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 15 Feb 2011 at 3:58

AudioPlayer (Flash) won't work on Windows XP / Internet Explorer 7

I'm trying to play a mp3 in a custom player in Internet Explorer 7. Although 
Flashplayer gets detected for playing the file and Flash-Player is installed 
with 10.1.102.64 the file won't play and exists with the following exception:

The Demo-Showcase Custom-Player does not work as well...

Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError): Das 
Objekt unterstützt diese Eigenschaft oder Methode nicht.
 number: -2146827850
 description: Das Objekt unterstützt diese Eigenschaft oder Methode nicht.
    at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:237)
    at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:126)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:561)
    at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:289)
    at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:107)
    at com.bramosystems.oss.player.core.client.impl.FlashMediaPlayerImpl$.playMedia$(FlashMediaPlayerImpl.java)
    at com.bramosystems.oss.player.core.client.ui.FlashMediaPlayer.playMedia(FlashMediaPlayer.java:400)
    at com.bramosystems.oss.player.core.client.skin.CustomAudioPlayer.playMedia(CustomAudioPlayer.java:203)

Original issue reported on code.google.com by [email protected] on 11 Jan 2011 at 2:13

Need way to set transparent mode in Flash

What steps will reproduce the problem?
1. Create a FlashMediaPlayer and place an image over it.
2. Flash will appear on top of image regardless of z-index value

What is the expected output? What do you see instead?
Need ability to overlay images on top of movie.  Normally, this is done by
setting the "wmode" property in Flash swf.

Please use labels and text to provide additional information.

I wrote a fix for my version using the following code, but this is
something that should be controlled by the user in the API, not set for all
movies.  In other words, player.setTransparentMode(boolean) that
enables/disables the following line of code.

File: \BST\1.0
Release\bst-player-api\src\main\java\com\bramosystems\oss\player\core\client\ui

Method: FlashMediaPlayer()

Line: 135 (in version 1.0 tag)

Change:  Add swf.addProperty("wmode", "transparent"); to append to list of
properties

Original issue reported on code.google.com by [email protected] on 10 Dec 2009 at 8:28

Two small build problems

What steps will reproduce the problem?
1. mvn -Pdev-mode install

What is the expected output? What do you see instead?
The maven build should complete without error.  Instead, there are two errors.

What version of the product are you using? On what operating system?
trunk 1.2.1-SNAPSHOT
Linux, Kubuntu 10.10

$ mvn --version
Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400)
Java version: 1.6.0_23
Java home: /opt/java/jdk1.6.0_23/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux" version: "2.6.35-25-generic" arch: "amd64" Family: "unix"

Please provide any additional information below.

The first problem is a maven execution that is commented out.

The second is a non-UTF8 character in a javadoc comment which causes the 
compile to fail.  An alternative solution is to set explicit character 
encodings in the build so that you can keep the fancy apostrophe.

I'm attaching a small patch which fixes both issues.

Below is snipped maven output from the two errors.

------------------------------------------------------------------------

[INFO] Unable to find artifact.
Embedded error: Unable to download the artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command: 
    mvn install:install-file -DgroupId=com.bramosystems.oss.player -DartifactId=bst-flash-player -Dversion=1.2.1-SNAPSHOT -Dclassifier=lo -Dpackaging=swf -Dfile=/path/to/file

------------------------------------------------------------------------

[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. 
build is platform dependent!
[ERROR] BUILD FAILURE
[INFO] Compilation failure 
bst-player/bst-player-api/src/main/java/com/bramosystems/oss/player/core/client/
ui/QuickTimePlayer.java:[732,16] unmappable character for encoding UTF8

Original issue reported on code.google.com by [email protected] on 29 Jan 2011 at 8:54

Attachments:

Error getting plugin if URL contains parameter / sessionid etc

I stumbled upon a problem retrieving a suitable plugin when the 
provided media url contains request parameter, an internal link, a sessionid 
etc.

I peeked into the source a found the cause:

com.bramosystems.oss.player.core.client.PlayerUtil

protected static String extractExt(String mediaURL) {
   return mediaURL.substring(mediaURL.lastIndexOf(".") + 1);
}

Replacing the method above with

protected static String extractExt(String mediaURL) {
   mediaURL = mediaURL.replaceAll("[\\?;#].*$", "");
   return mediaURL.substring(mediaURL.lastIndexOf(".") + 1);
}

fixed the problem.

It would be great if you will integrate the fix in feature releases.

Thanks for a great peace of software

Greetings Janne


Original issue reported on code.google.com by *[email protected] on 16 Aug 2011 at 10:16

VideoURL YoutubePlayer gets lowercased

Hi,

I'm using the YoutubePlayer in version 1.1. The Youtube URLs contains
upper- and lower case characters. The
com.bramosystems.oss.player.uibinder.client.PlayerWrapper class does a to
lowercase on line 20: mediaURL = mediaURL.toLowerCase();
Therefore the youtube movie isn't available, it needs the original videoURL
with lower- and uppercase characters.

Cheers,
Roeland

Original issue reported on code.google.com by [email protected] on 29 Jan 2010 at 10:26

Can I capture events (stop, finish, play pause ) on an ipod touch?

What steps will reproduce the problem?
1.Run the application on the ipod touch with Native Player
2.
3.

What is the expected output? What do you see instead?
Having the event handler called
Nothing

What version of the product are you using? On what operating system?
1.1
1.2

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 28 Nov 2010 at 11:30

Negative loopCount does not work with WinMediaPlayer

What steps will reproduce the problem?
1. Create a WinMediaPlayer instance and set loopCount to negative value

What is the expected output? What do you see instead?
Expected Output: The player should play continuously.
Actual Output: The player plays ONCE and stop.



Original issue reported on code.google.com by [email protected] on 16 Jun 2010 at 8:42

Memory leaks on each repeat

What steps will reproduce the problem?
I load and play a .wmv video in WinMediaPlayer, works fine but when repeats 
itselfs, browser's memory increase about 200kb on each repeat. I mean, memory 
leaks.

What is the expected output? What do you see instead?
keep the same memory resource.

What version of the product are you using? On what operating system?
XP, IE6/FF3, GWT 1.7, BST 1.1

Please provide any additional information below.

AbstractMediaPlayer player;
try {
    player = new WinMediaPlayer(GWT.getHostPageBaseURL() +"Media/car.wmv",true,"670px","690px");
    player.setLoopCount(-1);
    player.setControllerVisible(false);             
    } catch(LoadException e) {} 
    catch(PluginVersionException e) {       
    } catch(PluginNotFoundException e) {               
    }

HorizontalSplitPanel hzsp = new HorizontalSplitPanel();
hzsp.setRightWidget(player);

Original issue reported on code.google.com by [email protected] on 13 Jun 2010 at 11:13

TypeError: Object [object HTMLBodyElement] has no method 'attachEvent'

What steps will reproduce the problem?
1.bst-player 1.1
2.GWT 2.0.3
3.Chrome browser 4.1.249

[sample code]
SimplePanel panel = new SimplePanel();
panel.setWidget(player);
RootPanel.get().add(panel);

What is the expected output? What do you see instead?

Seen exception thrown, stacktrace as below

com.google.gwt.core.client.JavaScriptException: (TypeError): Object 
[object HTMLBodyElement] has no method 'attachEvent'
 stack: TypeError: Object [object HTMLBodyElement] has no 
method 'attachEvent'
    at [object Object].<anonymous> (unknown source)
    at __gwt_jsInvoke (http://127.0.0.1:8888/kbook123app/hosted.html?
kbook123app:70:35)
    at http://127.0.0.1:8888/kbook123app/hosted.html?kbook123app:263:16
    at maybeStartModule 
(http://127.0.0.1:8888/kbook123app/kbook123app.nocache.js:40:16)
    at http://127.0.0.1:8888/kbook123app/kbook123app.nocache.js:170:7
 type: undefined_method
 arguments: attachEvent,[object HTMLBodyElement]
 __gwt_ObjectId: 186


What version of the product are you using? On what operating system?

bst-player 1.1, Vista

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 19 Apr 2010 at 9:52

Enhancement: Expose as many QuickTime accessors as possible

Specifically, it would be great to be able to query the original media width 
and height -- using the 
getMatrix() function.  Also, theoretically setMatrix() can be used to 
change/scale/flip or otherwise 
transform the video.  I realize these functions may not be supported across all 
players (maybe get 
width and height are), but specific accessors on the quicktime implmentation 
object would all 
access by casting to that class.

Thanks for your work.

Original issue reported on code.google.com by [email protected] on 18 Jun 2009 at 3:38

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.