Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

YouTube Video Player App

 import Felgo 4.0
 import QtQuick 2.0
 import "../common"

 ListPage {
   id: channelPage
   title: dataModel.channelInfo && dataModel.channelInfo.snippet.title || dataModel.userName
   backgroundColor: Theme.secondaryBackgroundColor

   rightBarItem: IconButtonBarItem {
     visible: !isOnline
     iconType: IconType.exclamation
     onClicked: NativeDialog.confirm("Offline", "You are currently offline, please go online to use the app.")

   emptyText.text: getOfflineStatus()

   property bool showDisclosure: true

   signal selected(var playlist)

   model: JsonListModel {
     id: listModel
     source: dataModel.channelPlaylists
     keyField: "id"

   delegate: SimpleRow {
     property var item: listModel.get(index)
     text: item.snippet.title
     imageSource: item.snippet.thumbnails ? item.snippet.thumbnails.high.url : ""
     autoSizeImage: true
     style.showDisclosure: showDisclosure
     onSelected: {
Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded