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

Bug #780838 reported by Lachlan on 2011-05-11
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
JessyInk
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.

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

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  Edit
Everyone can see this information.

Other bug subscribers