refactor: updated controls functionality in youtube api integration
Hello,
I have made a change to the controls functionality in the integration with the YouTube API. Previously, the control options were set to 1, 2, and 3. However, the official YouTube API only supports control values of 0 and 1.
This discrepancy can lead to confusion and potential bugs, so I have updated the control settings to reflect the official YouTube API documentation. Now, the controls functionality in our library supports only 0 and 1, aligning with the official YouTube API and ensuring expected behavior for users.
Here are the changes in detail:
- Updated the controls functionality to support only the values 0 and 1.
- Modified relevant function calls and documentation to reflect this change.
- Tested the updated controls functionality with various video samples to ensure expected behavior.
These changes improve the accuracy of our YouTube API integration and make our library easier to use for developers familiar with the official YouTube API.
I kindly request a review for this pull request and am open to any feedback or suggestions.