plasma-framework/scriptengines/javascript/tests/script-mediaplayer/contents/code/main.js
Marco Martin 0589a221e2 revert the phonon check, it appears HAVE_PHONON isn't defined and phonon
is required anyways

svn path=/trunk/KDE/kdebase/workspace/plasma/scriptengines/javascript/; revision=924894
2009-02-11 21:31:26 +00:00

9 lines
137 B
JavaScript

layout = new LinearLayout(plasmoid);
video = new VideoWidget();
layout.addItem(video);
video.url = startupArguments[0];
video.play();