How to loading video in webview dynamic components

Hello everybody <
How i put a video after choosing from phone memory on webview ( webview created by dynamic components temples scheme )

{
    "name": "CV_video",
    "metadata-version": 1,
    "extension_version": 5,
    "author": "<HAMIDolit>",
    "platforms": [
        "creator.kodular.io"
    ],
    "keys": [
	"id",
	"video"
	],
    "components": [
        {            "id":"Makeroid_Card_View_video1{id}",
                     "type":"MakeroidCardView",
                     "properties":{
                        "CornerRadius":10,
                        "Elevation":2,
                        "ContentPaddingRight":8,
                        "ContentPaddingLeft":8,
                        "ContentPaddingTop":8,
                        "ContentPaddingBottom":8,
                        "FullClickable":true,
                        "AlignHorizontal":2,
                        "AlignVertical":1,
                        "Width":-2,
						"Height":  200
                        
                     },
                     "components":[
                        {  						  "id": "Web_Viewer{id}",
                                                    "type": "WebViewer",
                                                    "properties": {
                                                        "Height": 200,
                                                        "Width": -2,
														"GoToUrl" : "{video}"
                                                    }
						},
													{	"id": "Horizonta_lArrangement2{id}",
													"type": "HorizontalArrangement",
													"properties": { 
													"BackgroundColor":-5,
													"iscard": true ,
													"AlignHorizontal": 3 ,
													"AlignVertical": 2 ,
													"Width": -2,
													"Height": -1
				
												},
											"components": [	
													{      "id": "Label_image1{id}",
                                                            "type": "Label",
                                                            "properties": {
																"FontSize":30,
																"TextColor": -769226,
                                                                "FontTypeface": 7,
                                                                "Text": "edit",
																"Width": -2,
																"TextAlignment": 1 ,
																"Clickable": true 
                                                            }
                                                        },
				       					{
                                                            "id": "Label_image2{id}",
                                                            "type": "Label",
                                                            "properties": {
																"FontSize":30,
																"TextColor": -769226,
                                                                "FontTypeface": 7,
                                                                "Text": "delete",
																"Width": -2,
																"TextAlignment": 1 ,
																"Clickable": true 
																
                            }
                        }
				    ]
				}
			]
		}
	]
}
		   

Thank you so much​:grinning_face_with_smiling_eyes::grinning_face_with_smiling_eyes:.

You should try "GoToUrl":{video} instead. As Video is a parameter and you must give parameter in {}

1 Like

I set “HomeUrl”:"{video}"
error :

I’m set "GoToUrl" : "{video"}
That’s working
Thanks you my friend .:star_struck:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.