Skip to content

Commit df7edd7

Browse files
Merge pull request #2086 from Esri/road_video
Updated Notebook with Successfully Playing Video in Cell
2 parents dceca1e + 4240114 commit df7edd7

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

samples/04_gis_analysts_data_scientists/automate_road_surface_investigation_using_deep_learning.ipynb

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -993,21 +993,19 @@
993993
},
994994
{
995995
"cell_type": "code",
996-
"execution_count": 5,
996+
"execution_count": 26,
997997
"metadata": {},
998998
"outputs": [
999999
{
10001000
"data": {
10011001
"text/html": [
1002-
"<video src=\"../../static/video/road_crack_prediction.mp4\" controls >\n",
1003-
" Your browser does not support the <code>video</code> element.\n",
1004-
" </video>"
1002+
"<style>.video-container{display:grid;justify-items:center;align-items:center;position:relative;width:100%;height:100%;min-height:400px;overflow:hidden}.video-container iframe{position:absolute;z-index:1;top:50%;left:50%;min-width:100%;min-height:100%;transform:translate(-50%,-50%)}</style><div class=\"video-container\"><iframe id=\"kmsembed-1_61k6sy6f\" width=\"608\" height=\"402\" src=\"https://mediaspace.esri.com/embed/secure/iframe/entryId/1_61k6sy6f/uiConfId/49806163/st/0\" class=\"kmsembed\" allowfullscreen webkitallowfullscreen mozallowfullscreen allow=\"autoplay *; fullscreen *; encrypted-media *\" referrerpolicy=\"no-referrer-when-downgrade\" sandbox=\"allow-downloads allow-forms allow-same-origin allow-scripts allow-top-navigation allow-pointer-lock allow-popups allow-modals allow-orientation-lock allow-popups-to-escape-sandbox allow-presentation allow-top-navigation-by-user-activation\" frameborder=\"0\" title=\"Road crack prediction\"></iframe></div>"
10051003
],
10061004
"text/plain": [
1007-
"<IPython.core.display.Video object>"
1005+
"<IPython.core.display.HTML object>"
10081006
]
10091007
},
1010-
"execution_count": 5,
1008+
"execution_count": 26,
10111009
"metadata": {},
10121010
"output_type": "execute_result"
10131011
}
@@ -1458,9 +1456,9 @@
14581456
"notebookRuntimeVersion": ""
14591457
},
14601458
"kernelspec": {
1461-
"display_name": "Python 3 (ipykernel)",
1459+
"display_name": "Python [conda env:conda-new] *",
14621460
"language": "python",
1463-
"name": "python3"
1461+
"name": "conda-env-conda-new-py"
14641462
},
14651463
"language_info": {
14661464
"codemirror_mode": {
@@ -1472,7 +1470,7 @@
14721470
"name": "python",
14731471
"nbconvert_exporter": "python",
14741472
"pygments_lexer": "ipython3",
1475-
"version": "3.11.0"
1473+
"version": "3.11.9"
14761474
}
14771475
},
14781476
"nbformat": 4,

0 commit comments

Comments
 (0)