Skip to content

Commit 0e69372

Browse files
committed
DOC-3223: rename uploadcare_disable_video_resize to uploadcare_enable_video_resize and remove from demos.
1 parent 9217cde commit 0e69372

File tree

10 files changed

+31
-43
lines changed

10 files changed

+31
-43
lines changed

antora.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ asciidoc:
1010
companyurl: https://www.tiny.cloud
1111
cdnurl: https://cdn.tiny.cloud/1/no-api-key/tinymce/8/tinymce.min.js
1212
tdcdnurl: https://cdn.tiny.cloud/1/_your_api_key_/tinydrive/8/tinydrive.min.js
13-
tinymce_live_demo_url: https://cdn.tiny.cloud/1/qagffr3pkuv17a8on1afax661irst1hbr4e6tbv888sz91jc/tinymce/8/tinymce.min.js
13+
tinymce_live_demo_url: https://cdn.tiny.cloud/1/qagffr3pkuv17a8on1afax661irst1hbr4e6tbv888sz91jc/tinymce/8-dev/tinymce.min.js
1414
tinydrive_live_demo_url: https://cdn.tiny.cloud/1/qagffr3pkuv17a8on1afax661irst1hbr4e6tbv888sz91jc/tinydrive/8/tinydrive.min.js
1515
webcomponent_url: https://cdn.jsdelivr.net/npm/@tinymce/tinymce-webcomponent/dist/tinymce-webcomponent.min.js
1616
jquery_url: https://cdn.jsdelivr.net/npm/@tinymce/tinymce-jquery@2/dist/tinymce-jquery.min.js

modules/ROOT/examples/live-demos/uploadcare-full-feature/example.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ tinymce.init({
2626
preload: 'metadata',
2727
showLogo: false
2828
},
29-
uploadcare_disable_video_resize: false,
3029
uploadcare_supported_files: [
3130
{ mimeType: 'video/mp4', extensions: ['mp4'] },
3231
{ mimeType: 'video/webm', extensions: ['webm'] }

modules/ROOT/examples/live-demos/uploadcare-full-feature/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ <h1>Discover Your Dream Home on Mallorca: Where Paradise Meets Investment</h1>
1111
<h2>Experience Mallorca in Motion</h2>
1212
<p>Watch this stunning video showcasing the beauty and lifestyle that awaits you on this Mediterranean paradise:</p>
1313
<p><uc-video uuid="83fd9f98-1939-4d99-b5e3-85563f89f5fb" class="tox-uc-video" contenteditable="false" controls="true" /></p>
14-
<p><em>Experience the crystal-clear waters, charming villages, and breathtaking landscapes that make Mallorca the perfect destination for your dream home.</em></p>
14+
<p><em>Feel the warmth of the Mediterranean sun, hear the gentle waves, and imagine yourself surrounded by the peaceful ambiance of this island paradise as you relax in your dream home.</em></p>
1515
<blockquote><em>"The Mallorca real estate market has grown by an impressive 8% annually over the past five years,"</em> &mdash; Elena Alvarez, Market Analyst at Mediterranean Realty Insights.</blockquote>
1616
<p>According to recent market data, Mallorca&rsquo;s property values have experienced steady growth, with an average&nbsp;<a href="tiny.cloud">increase of 8% annually over the past five years</a>. This consistent appreciation, coupled with a thriving rental market, makes it an ideal destination for investors seeking both luxury and financial returns.&nbsp;</p>
1717
<h2>Explore Our Featured Villa: The Epitome of Luxury&nbsp;</h2>

modules/ROOT/examples/live-demos/uploadcare-full-feature/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ tinymce.init({
2525
preload: 'metadata',
2626
showLogo: false
2727
},
28-
uploadcare_disable_video_resize: false,
2928
uploadcare_supported_files: [
3029
{ mimeType: 'video/mp4', extensions: ['mp4'] },
3130
{ mimeType: 'video/webm', extensions: ['webm'] }

modules/ROOT/examples/live-demos/uploadcare-video/example.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ tinymce.init({
1212
preload: 'metadata',
1313
showLogo: false
1414
},
15-
uploadcare_disable_video_resize: false,
1615
uploadcare_supported_files: [
1716
{ mimeType: 'video/mp4', extensions: ['mp4'] },
1817
{ mimeType: 'video/webm', extensions: ['webm'] }
Lines changed: 21 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,34 @@
11
<textarea id="uploadcare-video">
2-
<h1>Experience Mallorca: Video Showcase</h1>
3-
<p><span style="color: #4e5c73;">Discover the beauty and lifestyle of Mallorca through our exclusive video content. From crystal-clear waters to charming villages, experience what makes this Mediterranean paradise the perfect destination for your dream home.&nbsp;</span></p>
2+
<h1>Experience Mallorca: Outdoor Paradise</h1>
3+
<p><span style="color: #4e5c73;">Discover the outdoor lifestyle and natural beauty of Mallorca through our exclusive video content. From beachside bonfires to mountain adventures, experience what makes this Mediterranean paradise the perfect destination for outdoor enthusiasts.&nbsp;</span></p>
44

5-
<h2>Welcome to Paradise</h2>
6-
<p>Watch this stunning video showcasing the breathtaking landscapes and luxurious lifestyle that awaits you on Mallorca:</p>
5+
<h2>Evenings by the Fire</h2>
6+
<p>Watch this captivating video showcasing the magical atmosphere of Mallorca's outdoor lifestyle:</p>
77
<p><uc-video uuid="83fd9f98-1939-4d99-b5e3-85563f89f5fb" class="tox-uc-video" contenteditable="false" controls="true" /></p>
8-
<p><em>Experience the crystal-clear waters, charming villages, and breathtaking landscapes that make Mallorca the perfect destination for your dream home.</em></p>
8+
<p><em>Experience the warmth of beachside gatherings, the crackling of bonfires under starlit skies, and the peaceful ambiance that makes Mallorca the perfect destination for outdoor living.</em></p>
99

10-
<h2>Villa Tour in Motion</h2>
11-
<p>Take a virtual tour of our featured luxury villa and see every detail in motion:</p>
12-
<p><uc-video uuid="83fd9f98-1939-4d99-b5e3-85563f89f5fb" class="tox-uc-video" contenteditable="false" controls="true" autoplay="false" loop="false" muted="false" playsinline="true" /></p>
13-
14-
<h2>Lifestyle Features</h2>
15-
<p>Our luxury villas offer more than just beautiful spaces&mdash;they provide a complete lifestyle experience:</p>
10+
<h2>Mallorca's Outdoor Lifestyle</h2>
11+
<p>Our island paradise offers more than just beautiful beaches&mdash;it provides a complete outdoor lifestyle experience:</p>
1612

1713
<ul>
18-
<li><strong>Infinity pools</strong> with panoramic Mediterranean views</li>
19-
<li><strong>Private beaches</strong> accessible only to residents</li>
20-
<li><strong>World-class marinas</strong> for yacht enthusiasts</li>
21-
<li><strong>Championship golf courses</strong> designed by renowned architects</li>
22-
<li><strong>Michelin-starred restaurants</strong> within walking distance</li>
23-
<li><strong>Cultural festivals</strong> and events year-round</li>
14+
<li><strong>Beachside bonfires</strong> under Mediterranean starlit skies</li>
15+
<li><strong>Hiking trails</strong> through Tramuntana mountain ranges</li>
16+
<li><strong>Water sports</strong> in crystal-clear turquoise waters</li>
17+
<li><strong>Cycling routes</strong> through charming countryside villages</li>
18+
<li><strong>Rock climbing</strong> on dramatic coastal cliffs</li>
19+
<li><strong>Sunset gatherings</strong> with friends and family</li>
2420
</ul>
2521

26-
<h2>Investment Opportunity</h2>
27-
<p>Mallorca's real estate market continues to show strong growth, with luxury properties appreciating at an average of 8% annually. Our video content showcases not just the beauty of the island, but the lifestyle and investment potential that comes with owning property here.</p>
28-
29-
<blockquote><em>"The combination of natural beauty, cultural richness, and investment potential makes Mallorca one of the most sought-after destinations in the Mediterranean,"</em> &mdash; Elena Alvarez, Market Analyst at Mediterranean Realty Insights.</blockquote>
30-
31-
<h2>Schedule Your Virtual Tour</h2>
32-
<p>Ready to see more? <a href="tiny.cloud">Contact us today</a> to schedule a personalized virtual tour and explore our exclusive video library of available properties.</p>
22+
<h2>Start Your Mallorca Adventure</h2>
23+
<p>Ready to experience the outdoor paradise? <a href="tiny.cloud">Contact us today</a> to discover more about Mallorca's outdoor lifestyle and learn how to capture your own magical moments.</p>
3324

3425
<h3>Video Features You Can Test:</h3>
3526
<ul>
36-
<li>Upload new videos via the uploadcare button</li>
37-
<li>Drag and drop video files directly into the editor</li>
38-
<li>Resize videos by dragging the corners</li>
39-
<li>Use video controls (play, pause, volume, fullscreen)</li>
40-
<li>Try different video configurations</li>
27+
<li><strong>Upload new videos</strong> via the uploadcare button in the toolbar</li>
28+
<li><strong>Drag and drop</strong> video files directly into the editor</li>
29+
<li><strong>Resize videos</strong> by dragging the corner handles</li>
30+
<li><strong>Video controls</strong> - play, pause, volume, fullscreen, and more</li>
31+
<li><strong>Video properties</strong> - configure autoplay, loop, muted, and other settings</li>
32+
<li><strong>Supported formats</strong> - MP4, WebM, and other video formats</li>
4133
</ul>
4234
</textarea>

modules/ROOT/examples/live-demos/uploadcare-video/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ tinymce.init({
1414
preload: 'metadata',
1515
showLogo: false
1616
},
17-
uploadcare_disable_video_resize: false,
1817
uploadcare_supported_files: [
1918
{ mimeType: 'video/mp4', extensions: ['mp4'] },
2019
{ mimeType: 'video/webm', extensions: ['webm'] }

modules/ROOT/pages/8.2.0-release-notes.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ The plugin now supports multiple video formats:
4747
This new functionality is supported with the following new configuration options:
4848

4949
* **`uploadcare_video_properties`**: Comprehensive video player configuration including autoplay, controls, loop and more.
50-
* **`uploadcare_disable_video_resize`**: Option to control whether videos can be resized directly within the editor.
50+
* **`uploadcare_video_resize`**: Option to control whether videos can be resized directly within the editor.
5151
* **`uploadcare_supported_files`**: Extended file type support to include video formats alongside existing image and document support.
5252

5353
For information on the **Media Optimizer** plugin, see: xref:uploadcare-video.adoc[Media Optimizer: Video].

modules/ROOT/pages/uploadcare-video.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ The following configuration options affect the behavior of the {pluginname} plug
125125

126126
include::partial$configuration/uploadcare_video_properties.adoc[leveloffset=+1]
127127

128-
include::partial$configuration/uploadcare_disable_video_resize.adoc[leveloffset=+1]
128+
include::partial$configuration/uploadcare_video_resize.adoc[leveloffset=+1]
129129

130130
include::partial$configuration/uploadcare_supported_files.adoc[leveloffset=+1]
131131

modules/ROOT/partials/configuration/uploadcare_disable_video_resize.adoc renamed to modules/ROOT/partials/configuration/uploadcare_video_resize.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
[[uploadcare-disable-video-resize]]
2-
== `uploadcare_disable_video_resize`
1+
[[uploadcare-video-resize]]
2+
== `uploadcare_video_resize`
33

44
Controls whether video elements can be resized directly within the editor.
55

66
*Type:* `+Boolean+`
77

8-
*Default:* `+false+`
8+
*Default:* `+true+`
99

1010
*Valid values:* `+true+`, `+false+`
1111

@@ -14,10 +14,10 @@ Controls whether video elements can be resized directly within the editor.
1414
|===
1515
|Value | Behavior
1616

17-
|`false` (default)
17+
|`true` (default)
1818
|Allows video resizing by adding `uc-video` to `object_resizing` configuration
1919

20-
|`true`
20+
|`false`
2121
|Disables video resizing by removing `uc-video` from `object_resizing` configuration
2222
|===
2323

@@ -30,6 +30,6 @@ tinymce.init({
3030
plugins: 'uploadcare',
3131
toolbar: 'uploadcare',
3232
uploadcare_public_key: '<your-public-key>',
33-
uploadcare_disable_video_resize: true
33+
uploadcare_video_resize: false
3434
});
3535
----

0 commit comments

Comments
 (0)