Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add video capability to PI scatterplot hover #323

Closed
pjcross opened this issue Jan 21, 2015 · 6 comments
Closed

Add video capability to PI scatterplot hover #323

pjcross opened this issue Jan 21, 2015 · 6 comments

Comments

@pjcross
Copy link
Contributor

pjcross commented Jan 21, 2015

Enable mp4 video files to be played in the PI model. The mp4 files must already exist (no conversions from a set of images). As with image inputs to the model, a column of full path descriptors for the video files must be included in the CSV input file. The model will include video columns with the image columns in the drop down menu for selecting which images to view during hover events. If a video column is selected, the hover event will pop up the first frame of the video with the standard triangle play icon in the center. Pressing play will start streaming the animation.

@alexsielicki
Copy link
Collaborator

An initial version of this is ready. It will pull the video using agents and will display it inside the bubble using a

@alexsielicki
Copy link
Collaborator

Dragging, pinning, and resizing of the video bubble should now work with no problems. The video height is reduced to prevent it from covering the close, pin, and resize icons because unlike images, videos take up the top layer and have clickable controls which interfere with ours. This reduced size also provides an area above and below the video that you can use to drag the bubble. With images you can drag the whole bubble by dragging the image, but with videos you have to use the white areas above and below because clicking the video causes it to play. I might be able to make the video draggable, but thought we should try this first and see if it works.

@alexsielicki
Copy link
Collaborator

Just fixed issues with restoring video bubbles on models that had them open and are bookmarked and reloaded. Still issues with Chrome. Still need to use getFile instead of getImage api to download video file.

@alexsielicki
Copy link
Collaborator

using file api for videos, image api for images

@pjcross
Copy link
Contributor Author

pjcross commented Feb 9, 2015

The issue with the color-coding of the video is only present in Firefox on Windows 7, and only on the first play through. Outside of slycat, the video plays correctly on Windows 7 (Chrome, Explorer) and OSX (Safari, Firefox, and Chrome).

@pjcross pjcross assigned dloch and unassigned alexsielicki Feb 12, 2015
@pjcross pjcross added this to the Finish PI Model milestone Feb 20, 2015
@pjcross pjcross assigned alexsielicki and unassigned dloch Feb 20, 2015
@alexsielicki
Copy link
Collaborator

Video capabilities are now working, tested under OSX and Windows, Firefox and Chrome. If we still have problems with video encoding, let's open a new issue for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants