Skip to content

Commit f80b4ba

Browse files
committed
Sync with Kendo UI Professional
1 parent 17561d5 commit f80b4ba

28 files changed

+596
-193
lines changed

docs/controls/bottomnavigation/appearance.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Appearance
33
page_title: jQuery BottomNavigation Documentation
44
description: "Learn how to customize the appearance of the jQuery BottomNavigation."
55
slug: appearance_bottomnavigation_widget
6-
position: 3
6+
position: 4
77
---
88

99
# Appearance
@@ -38,4 +38,4 @@ For a complete example, please review [the Appearance BottomNavigation Demo](htt
3838

3939
## See Also
4040

41-
* [JavaScript API Reference of the BottomNavigation](/api/javascript/ui/bottomnavigation)
41+
* [JavaScript API Reference of the BottomNavigation](/api/javascript/ui/bottomnavigation)
Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
---
2+
title: Getting Started
3+
page_title: jQuery BottomNavigation Documentation - Getting Started with the BottomNavigation
4+
description: "Get started with the jQuery BottomNavigation by Kendo UI and learn how to create, initialize, and enable the component."
5+
slug: getting_started_kendoui_bottomnavigation_component
6+
position: 2
7+
---
8+
9+
# Getting Started with the BottomNavigation
10+
11+
This guide demonstrates how to get up and running with the Kendo UI for jQuery BottomNavigation.
12+
13+
After the completion of this guide, you will achieve the following end result:
14+
15+
```dojo
16+
<nav id="bottomnavigation"></nav>
17+
18+
<script>
19+
$("#bottomnavigation").kendoBottomNavigation({
20+
items: [
21+
{ text: "Home", icon: "home" },
22+
{ text: "Info", icon: "info-circle" },
23+
{ text: "Contact", icon: "envelope" }
24+
]
25+
});
26+
</script>
27+
```
28+
29+
## 1. Create a Nav Element
30+
31+
First, create a `<nav>` element on the page that will be used to initialize the component. The content of the `<nav>` will be the content of the BottomNavigation.
32+
33+
```html
34+
<nav id="bottomnavigation"></nav>
35+
```
36+
37+
## 2. Initialize the BottomNavigation
38+
39+
In this step, you will initialize the BottomNavigation from the `<nav>` element.
40+
41+
```html
42+
<nav id="bottomnavigation"></nav>
43+
44+
<script>
45+
$("#bottomnavigation").kendoBottomNavigation();
46+
</script>
47+
```
48+
49+
## 3. Specify the Items
50+
51+
Here, you will specify the [`items`](/api/javascript/ui/bottomnavigation/configuration/items) of the BottomNavigation.
52+
53+
```dojo
54+
<nav id="bottomnavigation"></nav>
55+
56+
<script>
57+
$("#bottomnavigation").kendoBottomNavigation({
58+
items: [
59+
{ text: "Home", icon: "home" },
60+
{ text: "Info", icon: "info-circle" },
61+
{ text: "Contact", icon: "envelope" }
62+
]
63+
});
64+
</script>
65+
```
66+
67+
## Next Steps
68+
69+
* [Referencing Existing Component Instances]({% slug widget_methodsand_events_kendoui_installation %})
70+
* [Demo Page for the BottomNavigation](https://demos.telerik.com/kendo-ui/bottomnavigation/index)
71+
72+
## See Also
73+
74+
* [JavaScript API Reference of the BottomNavigation](/api/javascript/ui/bottomnavigation)
75+
* [Knowledge Base Section](/knowledge-base)
76+
77+
<script>
78+
window.onload = function() {
79+
document.getElementsByClassName("btn-run")[0].click();
80+
}
81+
</script>

docs/controls/bottomnavigation/items.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Items
33
page_title: jQuery BottomNavigation Documentation - Items
44
description: "Get started with the jQuery BottomNavigation by Kendo UI and learn how to configure the items of the component."
55
slug: items_bottomnavigation_widget
6-
position: 2
6+
position: 3
77
---
88

99
# Items

docs/controls/bottomnavigation/overview.md

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -10,35 +10,19 @@ position: 1
1010

1111
The Kendo UI BottomNavigation bar allows movement between primary destinations in an application. The main purpose of the component is to offer a navigation element whose options are represented by an icon and text.
1212

13-
Visit the [Demo page for the BottomNavigation](https://demos.telerik.com/kendo-ui/bottomnavigation/index) to see it in action.
14-
15-
## Initializing the BottomNavigation
16-
17-
To initialize the BottomNavigation, use the `<nav>` tag.
18-
19-
The following example demonstrates how to initialize the BottomNavigation from an existing `<nav>` element:
20-
21-
```dojo
22-
<nav id="bottomnavigation"></nav>
23-
24-
<script>
25-
$("#bottomnavigation").kendoBottomNavigation({
26-
items: [
27-
{ text: "Home", icon: "home" },
28-
{ text: "Info", icon: "info-circle" },
29-
{ text: "Contact", icon: "envelope" }
30-
]
31-
});
32-
</script>
33-
```
34-
3513
## Functionality and Features
3614

3715
* [Items]({% slug items_bottomnavigation_widget %}) - the configuration allows you to set various attributes like icons and text.
3816
* [Appearance]({% slug appearance_bottomnavigation_widget %}) - the configuration allows you to modify the appearance of the component.
3917
* [Templates]({% slug templates_bottomnavigation_widget %}) - the configuration allows you to customize how the items will be rendered.
4018
* [Accessibility]({% slug accessibility_kendoui_bottomnavigation_widget %}) - the BottomNavigation supports various accessibility standards.
4119

20+
## Next Steps
21+
22+
* [Getting Started with the Kendo UI BottomNavigation for jQuery]({% slug getting_started_kendoui_bottomnavigation_component %})
23+
* [Basic Usage of the BottomNavigation (Demo)](https://demos.telerik.com/kendo-ui/bottomnavigation/index)
24+
* [JavaScript API Reference of the BottomNavigation](/api/javascript/ui/bottomnavigation)
25+
4226
## See Also
4327

4428
* [Overview of the BottomNavigation (Demo)](https://demos.telerik.com/kendo-ui/bottomnavigation/index)

docs/controls/bottomnavigation/templates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Templates
33
page_title: jQuery BottomNavigation Documentation - BottomNavigation Templates
44
description: "Learn about how to use Kendo UI templates with the jQuery BottomNavigation"
55
slug: templates_bottomnavigation_widget
6-
position: 4
6+
position: 5
77
---
88

99
# Templates

docs/controls/expansionpanel/get-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ position: 2
88

99
# Getting Started with the ExpansionPanel
1010

11-
This guide demonstrates how to get up and running with the Kendo UI for jQuery ExpansionPanel .
11+
This guide demonstrates how to get up and running with the Kendo UI for jQuery ExpansionPanel.
1212

1313
After the completion of this guide, you will achieve the following end result:
1414

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
---
2+
title: Getting Started
3+
page_title: jQuery MediaPlayer Documentation - Getting Started with the MediaPlayer
4+
description: "Get started with the jQuery MediaPlayer by Kendo UI and learn how to create, initialize, and enable the component."
5+
slug: getting_started_kendoui_mediaplayer_component
6+
position: 2
7+
---
8+
9+
# Getting Started with the MediaPlayer
10+
11+
This guide demonstrates how to get up and running with the Kendo UI for jQuery MediaPlayer .
12+
13+
After the completion of this guide, you will achieve the following end result:
14+
15+
```dojo
16+
<div id="mediaplayer" style="width:640px; height: 360px;"></div>
17+
<script type="text/javascript">
18+
$(document).ready(function () {
19+
$("#mediaplayer").kendoMediaPlayer({
20+
autoPlay: true,
21+
navigatable: true,
22+
media: {
23+
title: "ProgressNEXT 2019 Highlights",
24+
source: "https://youtu.be/2OvvwWShNWo"
25+
}
26+
});
27+
});
28+
</script>
29+
```
30+
31+
## 1. Create a Div Element
32+
33+
First, create a `<div>` element on the page that will be used to initialize the component. The content of the `<div>` will be used as content for the MediaPlayer.
34+
35+
```html
36+
<div id="mediaplayer" style="width:640px; height: 360px;"></div>
37+
```
38+
39+
## 2. Initialize the MediaPlayer
40+
41+
In this step, you will initialize the MediaPlayer from the `<div>` element.
42+
43+
```dojo
44+
<div id="mediaplayer" style="width:640px; height: 360px;"></div>
45+
<script type="text/javascript">
46+
$(document).ready(function () {
47+
$("#mediaplayer").kendoMediaPlayer();
48+
</script>
49+
```
50+
51+
## 3. Specify the Media
52+
53+
Here, you will specify the [`media`](/api/javascript/ui/mediaplayer/configuration/media) that will be played by the component.
54+
55+
```dojo
56+
<div id="mediaplayer" style="width:640px; height: 360px;"></div>
57+
<script type="text/javascript">
58+
$(document).ready(function () {
59+
$("#mediaplayer").kendoMediaPlayer({
60+
media: {
61+
title: "ProgressNEXT 2019 Highlights",
62+
source: "https://youtu.be/2OvvwWShNWo"
63+
},
64+
autoPlay: true, // The video or videos will start playing after the component initialization.
65+
navigatable: true, // Enables the component keyboard navigation.
66+
});
67+
});
68+
</script>
69+
```
70+
71+
>tip When using local sources, consider the video formats supported by the different browsers. For more information on the supported HTML5 video formats, refer to [the HTML Video documentation](http://www.w3schools.com/html/html5_video.asp). Once your video files are ready, initialize the MediaPlayer by using the `div` element.
72+
73+
>tip Because of the [mobile considerations](https://developers.google.com/youtube/iframe_api_reference#Mobile_considerations), browsers on iOS do not automatically play embedded media. This limitation prevents unsolicited downloads over cellular networks at the expense of the user. The user always has to initiate a playback. For more information, refer to the article on [audio and video HTML](https://developer.apple.com/library/safari/documentation/AudioVideo/Conceptual/Using_HTML5_Audio_Video/AudioandVideoTagBasics/AudioandVideoTagBasics.html).
74+
Other functionalities may also be limited due to iOS restrictions. For more information, refer to [this article](https://community.shopify.com/c/shopify-design/html5-videos-do-not-work-in-safari-on-mac-or-ios-but-work-fine/td-p/2137777) and to other available resources on the Web.
75+
76+
## Next Steps
77+
78+
* [Referencing Existing Component Instances]({% slug widget_methodsand_events_kendoui_installation %})
79+
* [Demo Page for the MediaPlayer](https://demos.telerik.com/kendo-ui/mediaplayer/index)
80+
81+
## See Also
82+
83+
* [JavaScript API Reference of the MediaPlayer](/api/javascript/ui/mediaplayer)
84+
* [Knowledge Base Section](/knowledge-base)
85+
86+
<script>
87+
window.onload = function() {
88+
document.getElementsByClassName("btn-run")[0].click();
89+
}
90+
</script>

docs/controls/mediaplayer/multiple-sources.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Multiple Sources
33
page_title: jQuery MediaPlayer Documentation - Multiple Sources
44
description: "Get started with the jQuery MediaPlayer by Kendo UI and add multiple sources to the same video."
55
slug: multiplesources_kendoui_mediaplayer
6-
position: 2
6+
position: 3
77
---
88

99
# Multiple Sources

docs/controls/mediaplayer/overview.md

Lines changed: 4 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -15,61 +15,18 @@ The MediaPlayer also provides a styled video UI functionality by using the HTML5
1515

1616
To respond to cutting-end design practices and trends, the MediaPlayer component provides a responsive layout. This means that its size adapts depending on the capabilities of the client (end user) device and browser. The component automatically resizes its area to display the video in the most suitable possible way within the provided dimensions. The responsive web design of the MediaPlayer is shipped out-of-the-box and intends to save you time and efforts when developing your responsive applications.
1717

18-
* [Demo page for the MediaPlayer](https://demos.telerik.com/kendo-ui/mediaplayer/index)
19-
20-
The following image demonstrates a template of the MediaPlayer.
21-
22-
![Kendo UI for jQuery MediaPlayer Template](images/mediaplayer-overview1.png)
23-
24-
## Initializing the MediaPlayer
25-
26-
When using local sources, consider the video formats that are supported by the different browsers. For more information on the current supported HTML5 video formats, refer to [this article](http://www.w3schools.com/html/html5_video.asp). Once your video files are ready, initialize the MediaPlayer by using the `div` element.
27-
28-
The following example uses the `autoPlay` property:
29-
* Because of the [mobile considerations](https://developers.google.com/youtube/iframe_api_reference#Mobile_considerations), browsers on iOS do not automatically play embedded media. This limitation prevents unsolicited downloads over cellular networks at the expense of the user. The user always has to initiate a playback. For more information, refer to the article on [audio and video HTML](https://developer.apple.com/library/safari/documentation/AudioVideo/Conceptual/Using_HTML5_Audio_Video/AudioandVideoTagBasics/AudioandVideoTagBasics.html).
30-
* Other functionalities may also be limited due to iOS restrictions. For more information, refer to [this article](http://blog.millermedeiros.com/unsolved-html5-video-issues-on-ios/) and to other available resources on the Web.
31-
32-
```dojo
33-
<div id="mediaplayer1" style="width:640px; height: 360px;"></div>
34-
<script>
35-
$("#mediaplayer1").kendoMediaPlayer({
36-
autoPlay: true,
37-
media: {
38-
title: "Our Company Culture - Lesson 1",
39-
source: "Video/video1.mp4"
40-
}
41-
});
42-
</script>
43-
```
44-
4518
## Functionality and Features
4619

4720
* [Multiple sources]({% slug multiplesources_kendoui_mediaplayer %})
4821
* [Playlists]({% slug playlists_kendoui_mediaplayer %})
4922
* [Globalization]({% slug globalization_mediaplayer_jquery %})
5023
* [Accessibility]({% slug accessibility_mediaplayer_jquery %})
5124

52-
## Referencing Existing Instances
53-
54-
To refer to an existing MediaPlayer instance, use the `.data()` jQuery method which is executed by the jQuery object of the originating element. Once a reference is established, use the [MediaPlayer API](/api/javascript/ui/mediaplayer#methods) to control its behavior.
25+
## Next Steps
5526

56-
```dojo
57-
<button onclick="buttonClick();">Pause Video</button>
58-
<div id="mediaplayer1" style="width:640px; height: 360px;"></div>
59-
<script>
60-
$("#mediaplayer1").kendoMediaPlayer({
61-
autoPlay: true,
62-
media: {
63-
title: "Our Company Culture - Lesson 1",
64-
source: "Video/video1.mp4"
65-
}
66-
});
67-
function buttonClick() {
68-
var player = $("#mediaplayer1").data("kendoMediaPlayer");
69-
player.pause();
70-
}
71-
</script>
72-
```
27+
* [Getting Started with the Kendo UI MediaPlayer for jQuery]({% slug getting_started_kendoui_mediaplayer_component %})
28+
* [Basic Usage of the MediaPlayer (Demo)](https://demos.telerik.com/kendo-ui/mediaplayer/index)
29+
* [JavaScript API Reference of the MediaPlayer](/api/javascript/ui/mediaplayer)
7330

7431
## See Also
7532

docs/controls/mediaplayer/playlists.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Playlists
33
page_title: jQuery MediaPlayer Documentation - Playlists
44
description: "Get started with the jQuery MediaPlayer by Kendo UI and create your own playlist or prevent the user from seeking forward."
55
slug: playlists_kendoui_mediaplayer
6-
position: 3
6+
position: 4
77
---
88

99
# Playlists

0 commit comments

Comments
 (0)