<multimedia:av>.remove

Removes the media object.

 

<multimedia:av>.remove()

 

Remarks

This command will remove the media object from memory and free up the resources it occupied.

Return Value

None

Example

sound = viz.addAudio('alarm.wav')
print sound.getDuration() #Prints ~.76
sound.remove()
print sound.getDuration() #Prints 0