SHARE
TWEET

Untitled

a guest Sep 8th, 2017 122 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. elx.load(“Evas.h)
  2. elx.load(“Ecore.h)
  3. elx.load(“Ecore_Evas.h)
  4. elx.load(“Emotion.h)
  5.  
  6. // pas besoin de fonction main en Javascript
  7.    ecore_evas_init();
  8.    ee = ecore_evas_software_x11_new(NULL, 0, 0, 0, 800, 600);
  9.    ecore_evas_show(ee);
  10.    video = emotion_object_add(ecore_evas_get(ee));
  11.    emotion_object_file_set(video, "dvd:/");
  12.    // sur Freebox remplacer "dvd:/" par le chemin vers le fichier vidéo à lire (à confirmer)
  13.    emotion_object_play_set(video, 1);
  14.    evas_object_resize(video, 800, 600);
  15.    evas_object_show(video);
  16.    ecore_main_loop_begin();
  17.    ecore_evas_shutdown();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top