Forum

This content is now out of date.

Visit Our Community

Embedding videos into a Yellowfin report


Videos can be displayed in any Yellowfin report.

Please note: this feature is only available in Yellowfin 5.2 (october 2011) and later releases.

In order to embed the video you first need to return the link in a report, and then choose the correct formatter.

The formatters are available on any text field in your dataset. Click format column on a text field and you will see the HTML5 and Youtube Video formatters in the list (assuming you have the correct build). These should be available at the view level and report level.
See screenshot below:

Forum image


The values for the formatter should be stored in the database as a text field.

Example on how the video urls should look:
The youtube formatter requires the unique youtube id.. like [color="#FFFFFF0">Ob7vObnFUJc[/color]

The html5 formatter requires a url to a HTML video file.
For instance if you could put in a full url like:[color="#FFFFFF0"> http://www.808.dk/pics/video/gizmo.webm[/color] (absolute path)

Or if you copied gizmo.webm to your Yellowfin server into the appserver/webapps/ROOT directory... you could just use: [color="#FFFFFF0">gizmo.webm [/color](being a relative path)

Can the video file be stored on an internal server, and thus the path or reference will be to an internal server?

The way that HTML5 video works, the browser needs access to the video file that it is playing.

If you already have a directory of videos on an internal server you could expose the directory with a webserver.

You could also write some kind of proxy.. for instance you could place a JSP on the Yellowfin server that pipes data from an internal server to the end user... for instance http://yellowfin-server/video.jsp?&file=video.webm could proxy data from internal-server/videos/video.webm

Or you could write your own formatter plugin that loads some other kind of flash player etc.. that can do something more specific..
We can give you the source code for these formatters if you would like.

Please email [color="#0F65DD">support@Yellowfin.com.au[/color] if you encounter any errors while doing this.

Related Posts:

Video Files