Repository navigation
docs: update video renderer api configuration across documentation - #3342
Conversation
- Synchronized `s2-data-config` and `video` tutorial API definitions to match `Renderer` configurations in code. - Added `videoConfig` explicitly with default values in both Chinese and English documentation. Co-authored-by: Alexzjt <9548248+Alexzjt@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
|
你好 @Alexzjt,非常感谢你的贡献. Hello, @Alexzjt, Thanks for your contribution. In order to make the code more robust, please add the corresponding unit tests, and update the docs if there are API changes. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## next #3342 +/- ##
==========================================
+ Coverage 75.77% 78.65% +2.88%
==========================================
Files 257 224 -33
Lines 11994 12518 +524
Branches 2464 2843 +379
==========================================
+ Hits 9088 9846 +758
+ Misses 1398 961 -437
- Partials 1508 1711 +203 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Code Review
This pull request updates the documentation for s2-data-config and video cell rendering to include the videoConfig property and its default values. Feedback was provided regarding the crossOrigin default value, which is documented as a boolean but should ideally be a string to align with the HTMLVideoElement specification.
|
Size Change: -2 B (0%) Total Size: 744 kB 📦 View Changed
ℹ️ View Unchanged
|
👀 PR includes
✨ Feature
🎨 Enhance
🐛 Bugfix
🔧 Chore
📝 Description
Based on the latest weekly commit analysis (Commit
8e42aff58and recentVideoRendererConfigadjustments):videoConfigin thes2-data-configAPI specification, adding missing configuration properties fortype: 'VIDEO'that were previously unaccounted for.videoConfig({ loop: true, autoplay: false, preload: 'auto', crossOrigin: true, controls: false, muted: true }) into the tutorials for both Chinese and English.configdocumentation to includeRectStyleProps..zh.mdand.en.mdacross the docs directory.🖼️ Screenshot
🔗 Related issue link
🔍 Self-Check before the merge
PR created automatically by Jules for task 16898877395320545996 started by @Alexzjt