{ "cells": [ { "cell_type": "markdown", "metadata": { "colab_type": "text", "execution": {}, "id": "view-in-github" }, "source": [ "\"Open   \"Open" ] }, { "cell_type": "markdown", "metadata": { "execution": {}, "pycharm": { "name": "#%% md\n" } }, "source": [ "# Outro\n" ] }, { "cell_type": "markdown", "metadata": { "execution": {} }, "source": [ "**Our 2021 Sponsors, including Presenting Sponsor Facebook Reality Labs**\n", "\n", "

" ] }, { "cell_type": "markdown", "metadata": { "execution": {}, "pycharm": { "name": "#%% md\n" } }, "source": [ "## Video" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "cellView": "form", "execution": {}, "pycharm": { "name": "#%%\n" } }, "outputs": [], "source": [ "# @markdown\n", "from ipywidgets import widgets\n", "\n", "out2 = widgets.Output()\n", "with out2:\n", " from IPython.display import IFrame\n", " class BiliVideo(IFrame):\n", " def __init__(self, id, page=1, width=400, height=300, **kwargs):\n", " self.id=id\n", " src = \"https://player.bilibili.com/player.html?bvid={0}&page={1}\".format(id, page)\n", " super(BiliVideo, self).__init__(src, width, height, **kwargs)\n", "\n", " video = BiliVideo(id=f\"BV1bg411u7we\", width=854, height=480, fs=1)\n", " print(\"Video available at https://www.bilibili.com/video/{0}\".format(video.id))\n", " display(video)\n", "\n", "out1 = widgets.Output()\n", "with out1:\n", " from IPython.display import YouTubeVideo\n", " video = YouTubeVideo(id=f\"KUdKlJxtjQw\", width=854, height=480, fs=1, rel=0)\n", " print(\"Video available at https://youtube.com/watch?v=\" + video.id)\n", " display(video)\n", "\n", "out = widgets.Tab([out1, out2])\n", "out.set_title(0, 'Youtube')\n", "out.set_title(1, 'Bilibili')\n", "\n", "display(out)" ] }, { "cell_type": "markdown", "metadata": { "execution": {} }, "source": [ "## Daily survey\n", "\n", "Don't forget to complete your reflections and content check in the daily survey! Please be patient after logging in as there is\n", "a small delay before you will be redirected to the survey.\n", "\n", "\"button" ] }, { "cell_type": "markdown", "metadata": { "execution": {}, "pycharm": { "name": "#%% md\n" } }, "source": [ "## Slides" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "cellView": "form", "execution": {}, "pycharm": { "name": "#%%\n" } }, "outputs": [], "source": [ "# @markdown\n", "from IPython.display import IFrame\n", "IFrame(src=f\"https://mfr.ca-1.osf.io/render?url=https://osf.io/9hkg2/?direct%26mode=render%26action=download%26mode=render\", width=854, height=480)" ] } ], "metadata": { "colab": { "collapsed_sections": [], "include_colab_link": true, "name": "W1D1_Outro", "provenance": [], "toc_visible": true }, "kernel": { "display_name": "Python 3", "language": "python", "name": "python3" }, "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.7.12" } }, "nbformat": 4, "nbformat_minor": 0 }