Database
[{"type":"image","title":"","id":"3458764513842250250","parentId":"3458764513842634009","origin":"center","relativeTo":"parent_top_left","createdAt":"2023-06-14T10:20:47.262Z","createdBy":"3458764513823195488","modifiedAt":"2023-06-22T14:26:37.422Z","modifiedBy":"3458764513823195488","x":1404.0050456061917,"y":1134.4583650796958,"width":581.8633684719098,"height":581.8633684719098,"rotation":0,"url":"https://loremflickr.com/500/500?v=2","metadata":{"origin":"plantuml"}},{"type":"connector","shape":"curved","start":{"item":"3458764513842214045","snapTo":"auto"},"end":{"item":"3458764513842251902","snapTo":"auto"},"style":{"startStrokeCap":"none","endStrokeCap":"rounded_stealth","strokeStyle":"normal","strokeWidth":2,"strokeColor":"#333333","textOrientation":"horizontal"},"captions":[],"id":"3458764513842632916","parentId":"3458764513842634009","origin":"center","relativeTo":"parent_top_left","createdAt":"2023-06-22T14:22:05.092Z","createdBy":"3458764513823195488","modifiedAt":"2023-06-22T14:26:37.422Z","modifiedBy":"3458764513823195488"},{"type":"card","title":"<p>A CARD EXAMPLE</p>","description":"","style":{"cardTheme":"#2d9bf0"},"taskStatus":"none","tagIds":[],"fields":[],"id":"3458764513842632919","parentId":"3458764513842634009","origin":"center","relativeTo":"parent_top_left","createdAt":"2023-06-22T14:22:29.593Z","createdBy":"3458764513823195488","modifiedAt":"2023-06-22T14:26:37.422Z","modifiedBy":"3458764513823195488","x":2264.5268577758693,"y":1064.4912441730066,"width":861.145145812244,"height":161.46471483979576,"rotation":0,"metadata":{"status":"in_progress"}},{"type":"shape","content":"<p><strong>THIS IS A SHAPE</strong></p>","shape":"rectangle","style":{"fillColor":"#ff8080","fontFamily":"open_sans","fontSize":74,"textAlign":"center","textAlignVertical":"middle","borderStyle":"normal","borderOpacity":1,"borderColor":"#1a1a1a","borderWidth":2,"fillOpacity":1,"color":"#1a1a1a"},"id":"3458764513842214045","parentId":"3458764513842634009","origin":"center","relativeTo":"parent_top_left","createdAt":"2023-06-13T13:54:04.156Z","createdBy":"3458764513823195488","modifiedAt":"2023-06-22T14:26:37.422Z","modifiedBy":"3458764513823195488","x":1973.143430340997,"y":400.60163582997484,"width":625.3374106264064,"height":487.4502306451308,"rotation":0},{"type":"connector","shape":"curved","start":{"item":"3458764513842251902","position":{"x":0.5,"y":1},"snapTo":"bottom"},"end":{"item":"3458764513842632917","position":{"x":0.5,"y":0},"snapTo":"top"},"style":{"startStrokeCap":"none","endStrokeCap":"rounded_stealth","strokeStyle":"normal","strokeWidth":2,"strokeColor":"#333333","textOrientation":"horizontal"},"captions":[],"id":"3458764513842632918","parentId":"3458764513842634009","origin":"center","relativeTo":"parent_top_left","createdAt":"2023-06-22T14:22:27.710Z","createdBy":"3458764513823195488","modifiedAt":"2023-06-22T14:26:37.422Z","modifiedBy":"3458764513823195488"},{"type":"sticky_note","shape":"square","content":"<p>This is a sticky note</p>","style":{"fillColor":"light_yellow","textAlign":"center","textAlignVertical":"middle"},"tagIds":[],"id":"3458764513842251902","parentId":"3458764513842634009","origin":"center","relativeTo":"parent_top_left","createdAt":"2023-06-14T11:27:19.050Z","createdBy":"3458764513823195488","modifiedAt":"2023-06-22T14:26:37.422Z","modifiedBy":"3458764513823195488","x":2877.004532919105,"y":1573.6899540911236,"width":581.8633684719097,"height":666.6575276964594},{"type":"embed","previewUrl":"https://i.ytimg.com/vi/0olcwCD9-GM/hqdefault.jpg","mode":"inline","id":"3458764513841707078","parentId":"3458764513842634009","origin":"center","relativeTo":"parent_top_left","createdAt":"2023-06-06T09:47:55.407Z","createdBy":"3458764513823195488","modifiedAt":"2023-06-22T14:26:37.422Z","modifiedBy":"3458764513823195488","url":"https://www.youtube.com/watch?v=0olcwCD9-GM","x":1951.4079009002294,"y":1979.7892875703383,"width":668.8084695079418,"height":581.8633684719094},{"type":"shape","content":"<p>ANOTHER SHAPE</p>","shape":"circle","style":{"fillColor":"#fac710","fontFamily":"open_sans","fontSize":64,"textAlign":"center","textAlignVertical":"middle","borderStyle":"normal","borderOpacity":1,"borderColor":"#1a1a1a","borderWidth":2,"fillOpacity":1,"color":"#1a1a1a"},"id":"3458764513842632920","parentId":"3458764513842634009","origin":"center","relativeTo":"parent_top_left","createdAt":"2023-06-22T14:22:42.927Z","createdBy":"3458764513823195488","modifiedAt":"2023-06-22T14:26:37.422Z","modifiedBy":"3458764513823195488","x":959.4556161563769,"y":2206.9147494411936,"width":735.9346151118707,"height":710.7078499892141,"rotation":0},{"type":"text","content":"<p>THIS IS A TEXT</p>","style":{"fillColor":"transparent","fillOpacity":1,"fontFamily":"open_sans","fontSize":100,"textAlign":"left","color":"#1a1a1a"},"id":"3458764513842632917","parentId":"3458764513842634009","origin":"center","relativeTo":"parent_top_left","createdAt":"2023-06-22T14:22:07.716Z","createdBy":"3458764513823195488","modifiedAt":"2023-06-22T14:26:37.422Z","modifiedBy":"3458764513823195488","x":2780.6477279136643,"y":2490.840103007229,"width":664.2857142857143,"height":142.85714285714286,"rotation":0},{"type":"preview","id":"3458764513842634008","parentId":"3458764513842634009","origin":"center","relativeTo":"parent_top_left","createdAt":"2023-06-22T14:24:52.613Z","createdBy":"3458764513823195488","modifiedAt":"2023-06-22T14:26:37.422Z","modifiedBy":"3458764513823195488","url":"https://developers.miro.com/docs/miro-web-sdk-introduction","x":3522.690411319508,"y":487.58581678888913,"width":944.5833903764762,"height":581.8633684719093},{"type":"app_card","owned":true,"title":"This is the title of the app card","description":"The custom preview fields are highlighted in different colors; the app card icon is displayed on the bottom-right.","style":{"cardTheme":"#2d9bf0"},"tagIds":[],"status":"connected","fields":[{"value":"Owner","fillColor":"#FBE983","textColor":"#F83A22","iconUrl":"https://cdn-icons-png.flaticon.com/512/921/921124.png","iconShape":"round","tooltip":"Caption text displayed in a tooltip when clicking or hovering over the preview field"},{"value":"Timeline","fillColor":"#F8D878","textColor":"#503000","iconUrl":"https://cdn-icons-png.flaticon.com/512/3094/3094861.png","iconShape":"square","tooltip":"Caption text displayed in a tooltip when clicking or hovering over the preview field"},{"value":"Tasks","fillColor":"#bef2f2","textColor":"#0713FF","iconUrl":"https://cdn-icons-png.flaticon.com/512/3176/3176366.png","iconShape":"square","tooltip":"Caption text displayed in a tooltip when clicking or hovering over the preview field"},{"value":"Bug fix","fillColor":"#E5E5E5","textColor":"#000000","iconUrl":"https://cdn-icons-png.flaticon.com/512/3867/3867669.png","iconShape":"square","tooltip":"Caption text displayed in a tooltip when clicking or hovering over the preview field"}],"id":"3458764513842634146","parentId":"3458764513842634009","origin":"center","relativeTo":"parent_top_left","createdAt":"2023-06-22T14:25:04.993Z","createdBy":"3458764513823195488","modifiedAt":"2023-06-22T14:26:37.422Z","modifiedBy":"3458764513823195488","x":3834.982106507746,"y":1684.0152684238365,"width":320,"height":126,"rotation":0},{"type":"mindmap_node","id":"3458764513842632921","parentId":"3458764513842634009","origin":"center","relativeTo":"parent_top_left","createdAt":"2023-06-22T14:23:01.782Z","createdBy":"3458764513823195488","modifiedAt":"2023-06-22T14:26:37.422Z","modifiedBy":"3458764513823195488","x":909.0731198190688,"y":3559.9800151623404,"width":1042.857142857143,"height":457.14285714285717,"nodeView":{"type":"text","content":"<p>ROOT NODE</p>"},"childrenIds":["3458764513842632922"],"isRoot":true,"layout":"horizontal"},{"type":"frame","title":"Frame 1","childrenIds":["3458764513842632916","3458764513842250250","3458764513842632919","3458764513842251902","3458764513841707078","3458764513842632920","3458764513842632918","3458764513842632917","3458764513842214045","3458764513842634008","3458764513842634146","3458764513842632921"],"style":{"fillColor":"#ffffff"},"id":"3458764513842634009","parentId":null,"origin":"center","relativeTo":"canvas_center","createdAt":"2023-06-22T14:24:58.520Z","createdBy":"3458764513823195488","modifiedAt":"2023-06-22T14:26:37.422Z","modifiedBy":"3458764513823195488","x":-3075.9247708181692,"y":11320.50654078222,"height":4363.853928886944,"width":4961.694203484403,"showContent":true}]
Query
db.collection.find({"type":"embed","url":{$regex:"https?:\/\/www\\.youtube\\.com\/.*",},})