Tooltip Video not found

Tooltip Video not found

Anonymous
Not applicable
712 Views
2 Replies
Message 1 of 3

Tooltip Video not found

Anonymous
Not applicable

I've been following Jeremy Tammik's article about putting a video in an extended tool tip (http://thebuildingcoder.typepad.com/blog/2012/09/video-animated-ribbon-item-tooltip.html), but I've been having trouble getting the video to appear. As I hover over the button, a large empty space appears, as if a video will load, then it disappears and says "The video for this tooltip could not be found". In Jeremy's source code, the filepath for the video is C:\Program Files\Autodesk\Revit Structure 2013\Program\videos\GUID-053F3A19-7EFF-48D5-A0FA-AF0C2CC4BD9D-low.swf, however, this app is going to be distributed, so I wanted to keep the video in the same folder as the project. In my code, I have the filepath to the video similar to that of referencing the images used for the PushButton.Image property: "pack://application:,,,/Project1;component/Resources/Test.mp4". When I reference the same Revit file as given in the source code, everything works fine, but as soon as I try and reference it within the project itself, it doesn't work. Any idea as to why that is?

0 Likes
713 Views
2 Replies
Replies (2)
Message 2 of 3

jeremytammik
Autodesk
Autodesk

Dear Callin,

 

That sounds really weird.

 

All the source code has been published.

 

Why don't you modify it yourself and update the path to something more sensible that really suits your needs?

 

Best regards,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes
Message 3 of 3

Revitalizer
Advisor
Advisor

Hi,

 

I think it is a matter of file format.

 

Try to convert your mp4 to an swf file.

 

 

Revitalizer




Rudolf Honke
Software Developer
Mensch und Maschine





0 Likes