Video element shows "thumbnail" of last edited view in Inkscape

Bug #780838 reported by Lachlan
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
JessyInk
Triaged
Medium
Hannes Hochreiner

Bug Description

SYSTEM
Firefox 4.0.1 on Linux
JessyInk 1.5.5

BEHAVIOUR
When a video element is inserted into a slide, it shows up in the presentation with a "thumbnail" that corresponds to the last-edited view in Inkscape.

For instance, if a Master slide and a slide with text are both toggled visible in Inkscape when the file is saved, then those layers appear as the "thumbnail" for the video element when the file is viewed in a web browser. The layers are resized to fit the video element frame.

WHAT SHOULD HAPPEN
The video element should be blank. It would be nice to be able to set an image or an Inkscape object as the "thumbnail".

WORKAROUND
Deselect view for all layers (close the "eye" for all layers in the layers dialog) before saving the file.

Revision history for this message
Hannes Hochreiner (hannes-hochreiner) wrote :

Thanks for the detailed bug report. I'll look into the issue.

Changed in jessyink:
assignee: nobody → Hannes Hochreiner (hannes-hochreiner)
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Matthias Meschede (matthias-meschede) wrote :

WORKAROUND2:

in .../inkscape/extensions/JessyInk.js after line:
"
 videoNode.setAttribute("src", url);
"
add:
"
  videoNode.setAttribute("controls", "controls");
  videoNode.setAttribute("poster", "movie.png");
  videoNode.setAttribute("width", width);
  videoNode.setAttribute("height", height);
"

where movie.png is the movie preview file for ALL video elements (e.g. a png file with a play sign)
any other html5 videoNode options can also be added here. If you already have the SVG, you need to add the same to the svg
directly. I found the width and height attribute especially important, since otherwise the preview image
is often too large and one can not see the controls.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.