not really known
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

146 lines
8.3 KiB

  1. # What is Video Viewer ?
  2. Video Viewer is a viewer for a set of videos hosted on a server.
  3. Two set of videos are linked natively with the activity: [Khan Academy](http://khanacademy.org/) and [Canopé](https://www.reseau-canope.fr/lesfondamentaux/accueil.html). But you're able to adapt easily the activity to point to your own set of videos.
  4. # How it works ?
  5. Video Viewer is a Sugar-Web activity, it could work both into Sugar Learning platform and in Sugarizer.
  6. A standard set of libraries is load by the activities on the URL [http://sugarizer.org/content/videos.json](http://sugarizer.org/content/videos.json). You could replace this URL by updating the variable `constant.librariesUrl` in the file [constant.js](constant.js). Note that this URL is called with a `lang` parameter set with the current language.
  7. This file is an array of libraries:
  8. [
  9. {
  10. "name": "khanacademy",
  11. "title": "Khan Academy",
  12. "image": "images/khanacademy.png",
  13. "database": "http://sugarizer.org/content/khan.php?lang=%language%",
  14. "videos": "http://s3.amazonaws.com/KA-youtube-converted/%id%.mp4/%id%",
  15. "images": "http://s3.amazonaws.com/KA-youtube-converted/%id%.mp4/%id%.png"
  16. },
  17. {
  18. "name": "canope",
  19. "title": "Canopé",
  20. "image": "images/canope.png",
  21. "database": "http://sugarizer.org/content/canope.php",
  22. "videos": "https://videos.reseau-canope.fr/download.php?file=lesfondamentaux/%id%_sd",
  23. "images": "https://www.reseau-canope.fr/lesfondamentaux/uploads/tx_cndpfondamentaux/%image%.png"
  24. }
  25. ]
  26. You could dynamically add your own library using the library dialog (click on the library icon on the toolbar). You should provide to the dialog the URL of a JSON file that include an object with all these properties.
  27. Here what means each field:
  28. * **name**: name is the unique identifier of the library.
  29. * **image**: the image for the library. For included libraries, it's a local path but it could be a remote image as well.
  30. * **title**: title is the description of the library. It's used as title for the library into the library selection window.
  31. * **database**: database is the URL for the JSON file where the content is described (see below). You could include a `%language%` string into the URL that will be replaced by the language [ISO 639-1 code](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) of the current user.
  32. * **videos**: videos is the URL used to retrieve the video when the user click on it. You could include `%id%`, `%image%`, `%category%`, `%title%` in the URL (see below). They will be replaced by values of these fields for the clicked video.
  33. * **images**: images is the URL used for the preview image of the video. You could include `%id%`, `%image%`, `%category%`, `%title%` in the URL (see below). They will be replaced by values of these fields for the video.
  34. To be able to display a library, the VideoViewer activity, you need to provide the content of the library. You could do that with the `%database%` field. This field must point to an URL that return a JSON file describing all items in the library. Here is a description of this JSON file:
  35. [
  36. {"id":"...", "title":"...", "image":"...", "category": "..."},
  37. {"id":"...", "title":"...", "image":"...", "category": "..."},
  38. {"id":"...", "title":"...", "image":"...", "category": "..."},
  39. ...
  40. ]
  41. Each line represent one video, fields are:
  42. * **id**: unique identifier of the video (need),
  43. * **title**: title of the video (need),
  44. * **image**: preview image of the video (optional),
  45. * **category**: category of the video (optional). If provided, it will allow user to filter videos by categories using the menu.
  46. To compute the exact URL of the video and of the preview image, the activity will use the `videos` and `images` URL provided in the library settings and will replace `%id%`, `%category%`, `%image%` and `%title%` by value of these properties for the current video. So it's up to you to decide which field you need. For example, if you have a look on Khan Academy library settings you could see that: no `%category%` is present and that `%image%` is not used because image preview URL is computed using only video the `%id%` field.
  47. Note that items will be displayed by the VideoViewer activity in the order of your JSON file. So it's up to you to choose the optimal order for your user.
  48. Finally, it's important to say that the JSON file for the database is not necessarily static, it could be generated dynamically.
  49. # Image credits
  50. * play-video by jayson lim from the Noun Project
  51. * Filter by Kevin Augustine LO from the Noun Project
  52. * Library by vicentnovoa from the Noun Project
  53. # Video credits
  54. All Khan Academy videos are under [Khan Academy Terms of Service](https://www.khanacademy.org/about/tos).
  55. All Canopé videos are under [Canopé CNDP licence](https://www.reseau-canope.fr/lesfondamentaux/mentions-legales.html). Detailed credits follow:
  56. ## Direction de publication
  57. M. Jean-Marc Merriaux, directeur général de Canopé-CNDP Téléport 1, 1 Avenue du Futuroscope, CS 80158, 86961 FUTUROSCOPE CEDEX, Chasseneuil-du-Poitou.
  58. ## Hébergement
  59. Canopé
  60. ## Équipe Canopé
  61. ### Direction de l’édition transmédia Canopé
  62. Directrice de l'édition transmédia et de la pédagogie : Michèle Briziou
  63. Directeur délégué à l'édition transmédia : Thomas Schmitt, Jérôme Lecanu
  64. Directrice déléguée à la pédagogie : Véronique Billard
  65. ### Conception pédagogique
  66. Joël Benitez, Louisette Caux, Audrey David, Cécile Diaz, Isabelle Renault, Michelle Ros Dupont, Patricia Roux.
  67. ### Chefs de projet
  68. Bernard Clouteau, Catherine Goupil, Bernard Kenkle, Guillaume Menesplier, Julien Philipponneau, Laura Zornitta.
  69. ### Direction d’écriture
  70. Vanessa Grunberg, Nathalie Mars, Pascal Mirleau, Tony Scott.
  71. ### Production audiovisuelle
  72. Xavier Achard, Emmanuel Bourdeau, Marie-Odile Dupont, Simon Gattegno, Virginie Héricourt, Romuald Herrero, Franck Hueso, Nicolas Jeanneau, Hervé Turri, Anna Souchaud.
  73. ### Chargés de suivi éditorial
  74. Julie Betton, Nathalie Bidart, Aurélien Brault, Céline Cholet, Cécile Laugier, Julie Lavalard, Laetitia Pourel, Sophie Roue, Marguerite de la Taille.
  75. ### Directeur artistique
  76. Jean-Jacques Lonni
  77. ### Graphisme Ergonomie
  78. Thomas Cussonneau
  79. ### Développement
  80. Bruno Caillaud
  81. ### Intégration
  82. Aurélien Jean
  83. ### Contrôle de gestion
  84. ### Service juridique
  85. ### Direction de la valorisation des offres
  86. ## Auteurs
  87. ### Auteurs pédagogiques
  88. Marie-Dominique Bauden, Marc Bégaries, Patricia Bégaries, Céline Berger, Claire Bézagu, Patrick Binisti, Lisbeth Brivois, Sophie Caux, Claudine Demiot, Renée Germe, Véronique Granville, Josiane Grenet, Jean-Louis Etienne, Marie-José Lantam, Bertrand Lebot, Marie-José Paquet, Jérôme Penot, Catherine Richet, Michelle Ros-Dupont, Geneviève Roy, Karine Savigny, Fabienne Schramm, Pascale Vergnaud, Marie-Laure Villedary, Marie-Pierre Visentin.
  89. ### Scénaristes
  90. Yvan Amar, Dominique Amouyal, Sérine Barbin, Hervé Benedetti, Agnès Bidaud, Olivier Blond, Virginie Boda, Héloïse Capoccia, Fabien Champion, Nicolas Chrétien, Sabine Cipolla, Philippe Clerc, Camille Couasse, Catherine Cuenca, Vincent Détré, Jean-Marc Dobel, Marie Eynard, Marine Gacem, Vanessa Grunberg, Catherine Guillot-Bonte, Claire Kanny, Emmanuel Leduc, Jean-Jacques Lonni, Max Mamoud, Marie Manand, Mathilde Maraninchi, Nathalie Mars, Thomas Martinez, Pascal Mirleau, Diane Morel, Antonin Poiré, Christophe Poujol, Alexandre Reverend, Nathalie Reznikoff, Jean-Christophe Ribot, Benjamin Richard, Sylvie Rivière, David Robert, Armand Robin, Nicolas Robin, Françoise Ruscak, Tony Scott, Georges Tzanos, Patricia Valeix, Sébastien Vignaud, Séverine Vuillaume.
  91. ### Direction artistique des enregistrements
  92. Marie-Odile Dupont
  93. ### Comédiens
  94. Quentin Baillot, Nathalie Blanc, Olivier Blond, Joëlle Bobbio, Ségolène Bouët, Marc Brunet, Pauline Brunner, Arthur Dumas, Nathalie Kanoui, Magali Lange, Sandrine Le Berre, Frederic Le Bret, Antoine Lelandais, Bernadette Le Sachet, Sylvain Levitte, Johanna Nizard, Sébastien Perez, Bénédicte Rivière, Céline Ronté.
  95. ### Réalisateurs/Graphistes
  96. Paul-Etienne Bourde, Lionel Brousse, Anne Calandre, Davy Drouineau, Fabrice Fouquet, Joanna Lurie, Christophe Nardi, Vannaseng Phimmasone, Christelle Soutif, Alexandrine Wagner.
  97. ### Studios d’animation
  98. Amopix, Atomic soom, Cross river, Emakina, La Netscouade, La générale de production, Les Films du Poisson Rouge.
  99. ### Studios de sound-design
  100. Au jour le jour, Vega Prod.
  101. ### Sous titrage
  102. MFP