Examples of VLCPlaylist


Examples of chrriis.dj.nativeswing.swtimpl.components.VLCPlaylist

    cons.gridx++;
    cons.weightx = 1;
    gridBag.setConstraints(playerFileTextField, cons);
    final Runnable loadPlayerFileRunnable = new Runnable() {
      public void run() {
        VLCPlaylist playlist = player.getVLCPlaylist();
        // We reuse the instance, we do not reload the full player everytime.
        // Thus, we stop any previously running item, clear the playlist and add our item
        playlist.stop();
        playlist.clear();
        playlist.addItem(playerFileTextField.getText(), ":start-time=30 :no-audio :no-video-title-show");
        playlist.play();
      }
    };
    playerFileTextField.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        loadPlayerFileRunnable.run();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.