Skip to content

Optional Exercise Video Links with Default YouTube Search #200

@DalvirSahota

Description

@DalvirSahota

MyFit does not provide an easy way for users to access instructional videos for exercises. To improve usability, users should be able to attach a video link to exercises, opening in a new browser window rather than embedding the video. If no video link is provided, the app can default to a simple YouTube search based on the exercise name. To prevent accidental clicks during a workout session, an intuitive solution should be implemented.

Feature Details:

  • Add an optional "Video Link" field when creating or modifying an exercise.
  • If a valid URL is entered, users can click a “Watch Video” button, opening the link in a new browser window.
    • Label will need to be decided upon.
  • If no link is provided, the app generates a default YouTube search using the exercise name.
  • Keep the feature lightweight, avoiding embedded videos to prevent excessive load times.
  • Prevent accidental clicks during workouts (needs to be discussed and options evaluated):
    • Place the “Watch Video” button within a detailed exercise view rather than directly on the main workout screen.
    • Optionally, could require a long press instead of a single tap to open the video link.
    • Optionally, disable video buttons entirely when in Active Workout Mode to prevent disruptions.
    • Optionally, instead of showing a full button show a video icon

Potential Benefits:

  • Helps users quickly find visual demonstrations for exercises.
  • Supports flexibility by allowing links from various video sources.
  • Enhances usability while minimizing accidental interruptions during workouts.

Technical Considerations:

  • Ensure URL input supports different video platforms beyond YouTube.
  • Validate links to prevent broken entries.
  • Implement a user-friendly method to access videos without interfering with workout flow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions