de.enough.polish.video
Class VideoContainer.Test
java.lang.Object
de.enough.polish.video.VideoContainer.Test
- Enclosing class:
- VideoContainer
public static class VideoContainer.Test
- extends Object
Static methods to test videoplayback
- Author:
- Andre Schmidt
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VideoContainer.Test
public VideoContainer.Test()
createPlayer
public static Player createPlayer(String resource)
throws Exception
- Creates a player using the given resource
- Parameters:
resource - the url of a resource file
- Returns:
- the resulting player
- Throws:
Exception
isSeekSupported
public static boolean isSeekSupported(Player player)
- Tests on a player if seek (FF/RW) is supported
- Parameters:
player - the player to test with
- Returns:
- true if seek is supported, otherwise false