Embeds and videos are parsed with the jSON helper.
Added some new jSON objects to represent embeds, videos, and encodings.
The guidestepview decides how to render itself based on the content of the step:
-Images are rendered normally.
-videos are like image, but are rendered with a play button overplay.
-embeds are rendered in a web view that is larger then the image view.
When the user clicks on a video, a full screen video view wrapped in its own activity is brought up to stream the video.
When the user clicks an embed, a full screen web view wrapped in an activity is brought up to display the contents.
Note:
-Tested with with vimeo, youtube, and upverter.
-some phones do not have the capabilities to view embeds.
Embeds and videos are parsed with the jSON helper. Added some new jSON objects to represent embeds, videos, and encodings. The guidestepview decides how to render itself based on the content of the step: -Images are rendered normally. -videos are like image, but are rendered with a play button overplay. -embeds are rendered in a web view that is larger then the image view.
When the user clicks on a video, a full screen video view wrapped in its own activity is brought up to stream the video.
When the user clicks an embed, a full screen web view wrapped in an activity is brought up to display the contents.
Note: -Tested with with vimeo, youtube, and upverter. -some phones do not have the capabilities to view embeds.