com.vaadin.client.ui
Class VMediaBase

java.lang.Object
  extended by Widget
      extended by com.vaadin.client.ui.VMediaBase
Direct Known Subclasses:
VAudio, VVideo

public abstract class VMediaBase
extends Widget


Constructor Summary
VMediaBase()
           
 
Method Summary
 void addSource(java.lang.String sourceUrl, java.lang.String sourceType)
           
 void load()
           
 void pause()
           
 void play()
           
 void removeAllSources()
           
 void setAltText(java.lang.String alt)
           
 void setAutoplay(boolean shouldAutoplay)
           
 void setControls(boolean shouldShowControls)
           
 void setMediaElement(MediaElement element)
          Sets the MediaElement that is to receive all commands and properties.
 void setMuted(boolean mediaMuted)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VMediaBase

public VMediaBase()
Method Detail

setMediaElement

public void setMediaElement(MediaElement element)
Sets the MediaElement that is to receive all commands and properties.

Parameters:
element -

play

public void play()

pause

public void pause()

setAltText

public void setAltText(java.lang.String alt)

setControls

public void setControls(boolean shouldShowControls)

setAutoplay

public void setAutoplay(boolean shouldAutoplay)

setMuted

public void setMuted(boolean mediaMuted)

removeAllSources

public void removeAllSources()

load

public void load()

addSource

public void addSource(java.lang.String sourceUrl,
                      java.lang.String sourceType)


Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.