风萧 发表于 2026-8-6 13:45:07

[外交风云][全集在线观看]

导演: 宋业明
编剧: 马继红 / 高军
主演: 唐国强 / 孙维民 / 郭连文 / 王伍福 / 卢奇 / 董勇 / 谷伟 / 罗蓬 / 陈姗姗 / 黄薇 / 王智慧 / 杨童舒 / 司晓红 / 马晓伟 / 王辉 / 文馨 / 张再新 / 张页石 / 于洋 / 侯祥玲 / 周建鹏 / 郑锡龙 / 王卓 / 王之民 / 王荧欣 / 傅大勇 / 王雅捷 / 黑妹 / 黄冲 / 严晓频 / 刘恺威 / 徐百慧 / 杨奇鸣 / 赵秦 / 刘梦珂 / 宋禹 / 张琳 / 标马 / 王铂清 / 吴佟 / 肖艺 / 鞠红宇 / 于俭 / 黄继鹏 / 齐纪深 / 赵燕国彰 / 文森特·马蒂尔 / 柯国庆 / 高岛真一
类型: 剧情 / 历史
制片: 中国大陆
语言: 汉语普通话
首播: 2019-09-19(中国大陆)
集数: 48
单集片长: 45分钟


      重大革命历史题材电视剧《外交风云》是一部宏伟壮观的史诗巨片,以宏大的历史视野,真实地再现新中国成立以来中国外交进程和在中国大地上发生的翻天覆地的巨变。主要记述毛泽东、周恩来、邓小平、陈毅等老一辈无产阶级革命家在新中国外交事业上的杰出贡献,全方位展现了日内瓦会议、亚非会议、周恩来访非、恢复联合国席位等一系列波澜壮阔的外交史实,塑造了睿智沉着、敬业奉献的新中国外交家形象,展现了新中国外交的艰难曲折。


下载地址
**** Hidden Message *****

风萧 发表于 2026-8-31 22:37:32

<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Discuz M3U8 分集播放器</title>
    <!-- 引入 TailwindCSS -->
    <script src="https://cdn.tailwindcss.com"></script>
    <script>
      tailwind.config = {
      corePlugins: {
      preflight: false, // 关闭Tailwind的全局重置样式,避免覆盖Discuz原有页面样式
                     }
      }
    </script>
    <!-- 引入 Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <!-- 引入 Hls.js -->
    <script src="https://cdn.jsdelivr.net/npm/hls.js@latest/dist/hls.min.js"></script>
    <style>
      /* 自定义滚动条样式 */
      .episode-scroll::-webkit-scrollbar {
            width: 6px;
            height: 6px;
      }
      .episode-scroll::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 3px;
      }
      .episode-scroll::-webkit-scrollbar-thumb {
            background: #cbd5e1;
            border-radius: 3px;
      }
      .episode-scroll::-webkit-scrollbar-thumb:hover {
            background: #94a3b8;
      }
      /* 选中状态动画 */
      .episode-btn.active {
            background-color: #3b82f6;
            color: white;
            border-color: #3b82f6;
      }
      /* 加载动画 */
      .loader {
            border: 3px solid #f3f3f3;
            border-radius: 50%;
            border-top: 3px solid #3b82f6;
            width: 24px;
            height: 24px;
            -webkit-animation: spin 1s linear infinite; /* Safari */
            animation: spin 1s linear infinite;
      }
      @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
      }
    </style>
</head>
<body class="bg-gray-100 p-4 font-sans">

    <!-- 播放器容器 -->
    <div id="dz-video-player-container" class="max-w-4xl mx-auto bg-white rounded-xl shadow-lg overflow-hidden border border-gray-200" style="isolation: isolate;">
      
      <!-- 视频区域 -->
      <div class="relative w-full aspect-video bg-black group">
            <video id="dz-video-element" class="w-full h-full object-contain" controls playsinline poster="/data/attachment/album/202608/31/200711vfnhzq7opn8dqp00.jpg"></video>
            
            <!-- 加载指示器 -->
            <div id="dz-loading-indicator" class="absolute inset-0 flex items-center justify-center bg-black/50 hidden z-10">
                <div class="loader"></div>
            </div>

            <!-- 错误提示层 -->
            <div id="dz-error-overlay" class="absolute inset-0 flex flex-col items-center justify-center bg-black/80 text-white hidden z-20">
                <i class="fas fa-exclamation-triangle text-4xl mb-2 text-red-500"></i>
                <p class="text-sm">视频加载失败,请检查网络或链接有效性</p>
                <button onclick="retryLoad()" class="mt-4 px-4 py-2 bg-blue-600 hover:bg-blue-700 rounded text-sm transition">重试</button>
            </div>
      </div>

      <!-- 控制面板:标题与分集 -->
      <div class="p-4 bg-white">
            <div class="flex justify-between items-center mb-4 border-b pb-2">
                <h2 id="dz-video-title" class="text-lg font-bold text-gray-800 truncate pr-4">正在播放:第 1 集</h2>
                <!-- div class="text-xs text-gray-500 flex items-center gap-2">
                  <span id="dz-quality-badge" class="px-2 py-1 bg-gray-100 rounded text-gray-600">HD</span>
                  <span id="dz-duration">00:00</span>
                </div -->
            </div>

            <!-- 分集列表 -->
            <div class="mb-2 flex justify-between items-center">
                <span class="text-sm font-semibold text-gray-700"><i class="fas fa-list-ul mr-1"></i> 选集</span>
                <div class="flex gap-2">
                     <button onclick="toggleOrder()" class="text-xs text-blue-600 hover:text-blue-800 flex items-center gap-1">
                        <i class="fas fa-sort-amount-down" id="sort-icon"></i> <span id="sort-text">倒序</span>
                  </button>
                </div>
            </div>
            
            <div id="dz-episode-list" class="grid grid-cols-4 sm:grid-cols-6 md:grid-cols-8 gap-2 max-h-40 overflow-y-auto episode-scroll p-1">
                <!-- 分集按钮将通过 JS 动态生成 -->
            </div>
      </div>
    </div>

    <script>
      /**
         * Discuz M3U8 Player Configuration
         * 在 Discuz 发帖时,只需修改此处的 videoData 数组即可
         */
      const videoData = [
            { title: "第01集", url: "https://hn.bfvvs.com/play/Yer8Anwb/index.m3u8" },
            { title: "第02集", url: "https://hn.bfvvs.com/play/Yer8Aokb/index.m3u8" },
            { title: "第03集", url: "https://hn.bfvvs.com/play/DbD13oYd/index.m3u8" },
            { title: "第04集", url: "https://hn.bfvvs.com/play/YaOM3DGd/index.m3u8" },
            { title: "第05集", url: "https://hn.bfvvs.com/play/QeZY7nEd/index.m3u8" },
            { title: "第06集", url: "https://hn.bfvvs.com/play/yb81QN5d/index.m3u8" },
            { title: "第07集", url: "https://hn.bfvvs.com/play/penxwkDb/index.m3u8" },
            { title: "第08集", url: "https://hn.bfvvs.com/play/PdyoLvwa/index.m3u8" },
            { title: "第09集", url: "https://hn.bfvvs.com/play/1aK13Vzd/index.m3u8" },
            { title: "第10集", url: "https://hn.bfvvs.com/play/5eVA3V9d/index.m3u8" },
            { title: "第11集", url: "https://hn.bfvvs.com/play/Rb4QMy0d/index.m3u8" },
            { title: "第12集", url: "https://hn.bfvvs.com/play/penxw9Db/index.m3u8" },
            { title: "第13集", url: "https://hn.bfvvs.com/play/Yer8AWkb/index.m3u8" },
            { title: "第14集", url: "https://hn.bfvvs.com/play/lejZpWYe/index.m3u8" },
            { title: "第15集", url: "https://hn.bfvvs.com/play/penxwWYb/index.m3u8" },
            { title: "第16集", url: "https://hn.bfvvs.com/play/PdyoLWza/index.m3u8" },
            { title: "第17集", url: "https://hn.bfvvs.com/play/DbD13KAd/index.m3u8" },
            { title: "第18集", url: "https://hn.bfvvs.com/play/YaOM3pBd/index.m3u8" },
            { title: "第19集", url: "https://hn.bfvvs.com/play/5eVA3zBd/index.m3u8" },
            { title: "第20集", url: "https://hn.bfvvs.com/play/QeZY7E2d/index.m3u8" },
            { title: "第21集", url: "https://hn.bfvvs.com/play/Rb4QMngd/index.m3u8" },
            { title: "第22集", url: "https://hn.bfvvs.com/play/lejZpwYe/index.m3u8" },
            { title: "第23集", url: "https://hn.bfvvs.com/play/penxwAYb/index.m3u8" },
            { title: "第24集", url: "https://hn.bfvvs.com/play/Yer8AGBb/index.m3u8" },
            { title: "第25集", url: "https://hn.bfvvs.com/play/DbD13OAd/index.m3u8" },
            { title: "第26集", url: "https://hn.bfvvs.com/play/1aK13old/index.m3u8" },
            { title: "第27集", url: "https://hn.bfvvs.com/play/YaOM3vBd/index.m3u8" },
            { title: "第28集", url: "https://hn.bfvvs.com/play/QeZY7K2d/index.m3u8" },
            { title: "第29集", url: "https://hn.bfvvs.com/play/Rb4QMrgd/index.m3u8" },
            { title: "第30集", url: "https://hn.bfvvs.com/play/yb81Qn2d/index.m3u8" },
            { title: "第31集", url: "https://hn.bfvvs.com/play/lejZpjYe/index.m3u8" },
            { title: "第32集", url: "https://hn.bfvvs.com/play/penxw0Yb/index.m3u8" },
            { title: "第33集", url: "https://hn.bfvvs.com/play/lejZpjBe/index.m3u8" },
            { title: "第34集", url: "https://hn.bfvvs.com/play/penxw0Pb/index.m3u8" },
            { title: "第35集", url: "https://hn.bfvvs.com/play/PdyoLBga/index.m3u8" },
            { title: "第36集", url: "https://hn.bfvvs.com/play/DbD13D5d/index.m3u8" },
            { title: "第37集", url: "https://hn.bfvvs.com/play/1aK13NJd/index.m3u8" },
            { title: "第38集", url: "https://hn.bfvvs.com/play/YaOM3jQd/index.m3u8" },
            { title: "第39集", url: "https://hn.bfvvs.com/play/5eVA3xOd/index.m3u8" },
            { title: "第40集", url: "https://hn.bfvvs.com/play/Rb4QMokd/index.m3u8" },
            { title: "第41集", url: "https://hn.bfvvs.com/play/yb81QvWd/index.m3u8" },
            { title: "第42集", url: "https://hn.bfvvs.com/play/lejZpmBe/index.m3u8" },
            { title: "第43集", url: "https://hn.bfvvs.com/play/penxwqPb/index.m3u8" },
            { title: "第44集", url: "https://hn.bfvvs.com/play/PdyoLGga/index.m3u8" },
            { title: "第45集", url: "https://hn.bfvvs.com/play/DbD13L5d/index.m3u8" },
            { title: "第46集", url: "https://hn.bfvvs.com/play/1aK13jJd/index.m3u8" },
            { title: "第47集", url: "https://hn.bfvvs.com/play/5eVA3MOd/index.m3u8" },
            { title: "第48集", url: "https://hn.bfvvs.com/play/QeZY7Q8d/index.m3u8" }
      ];

      // 全局变量
      let hls = null;
      let currentEpisodeIndex = 0;
      let isReversed = false;
      let displayedData = [...videoData];
      const videoElement = document.getElementById('dz-video-element');
      const episodeListContainer = document.getElementById('dz-episode-list');
      const loadingIndicator = document.getElementById('dz-loading-indicator');
      const errorOverlay = document.getElementById('dz-error-overlay');
      const titleElement = document.getElementById('dz-video-title');
      const durationElement = document.getElementById('dz-duration');

      /**
         * 初始化播放器
         */
      function initPlayer() {
            renderEpisodes();
            loadEpisode(0); // 默认加载第一集
            
            // 监听视频元数据加载完成,更新时长显示
            videoElement.addEventListener('loadedmetadata', () => {
                durationElement.innerText = formatTime(videoElement.duration);
            });

            // 监听播放结束,自动下一集
            videoElement.addEventListener('ended', () => {
                playNext();
            });
      }

      /**
         * 渲染分集列表
         */
      function renderEpisodes() {
            episodeListContainer.innerHTML = '';
            displayedData.forEach((item, index) => {
                // 找到原始数据中的真实索引,用于点击事件
                const originalIndex = videoData.indexOf(item);
               
                const btn = document.createElement('button');
                btn.className = `episode-btn px-3 py-2 text-xs font-medium rounded border border-gray-200 text-gray-700 hover:bg-blue-50 hover:border-blue-200 transition-all truncate ${originalIndex === currentEpisodeIndex ? 'active' : ''}`;
                btn.innerText = item.title;
                btn.onclick = () => loadEpisode(originalIndex);
                episodeListContainer.appendChild(btn);
            });
      }

      /**
         * 加载指定集数
         * @param {number} index - 原始数据数组中的索引
         */
      function loadEpisode(index) {
            if (index < 0 || index >= videoData.length) return;

            currentEpisodeIndex = index;
            const data = videoData;
            
            // 更新UI状态
            updateActiveButton();
            titleElement.innerText = `正在播放:${data.title}`;
            showLoading(true);
            hideError();

            // 销毁旧的 HLS 实例
            if (hls) {
                hls.destroy();
            }

            // 创建新的 HLS 实例
            if (Hls.isSupported()) {
                hls = new Hls({
                  debug: false,
                  enableWorker: true,
                  lowLatencyMode: true,
                  backBufferLength: 90
                });

                hls.loadSource(data.url);
                hls.attachMedia(videoElement);

                hls.on(Hls.Events.MANIFEST_PARSED, function() {
                  videoElement.play().catch(e => console.log("Auto-play prevented:", e));
                  showLoading(false);
                });

                hls.on(Hls.Events.ERROR, function(event, data) {
                  if (data.fatal) {
                        switch(data.type) {
                            case Hls.ErrorTypes.NETWORK_ERROR:
                              console.log("fatal network error encountered, try to recover");
                              hls.startLoad();
                              break;
                            case Hls.ErrorTypes.MEDIA_ERROR:
                              console.log("fatal media error encountered, try to recover");
                              hls.recoverMediaError();
                              break;
                            default:
                              showError();
                              hls.destroy();
                              break;
                        }
                  }
                });

            } else if (videoElement.canPlayType('application/vnd.apple.mpegurl')) {
                // Safari 原生支持
                videoElement.src = data.url;
                videoElement.addEventListener('loadedmetadata', function() {
                  videoElement.play();
                  showLoading(false);
                });
            } else {
                showError();
            }
      }

      /**
         * 更新按钮激活状态
         */
      function updateActiveButton() {
            const buttons = episodeListContainer.querySelectorAll('.episode-btn');
            buttons.forEach((btn, idx) => {
                // 注意:displayedData 可能是反转的,所以需要比对内容或重新映射
                // 这里简单起见,我们重新渲染或者通过文本匹配,但更优解是重新渲染
                // 为了性能,我们直接重新渲染整个列表是最安全的,因为列表通常不长
                renderEpisodes();
            });
      }

      /**
         * 播放下一集
         */
      function playNext() {
            if (currentEpisodeIndex < videoData.length - 1) {
                loadEpisode(currentEpisodeIndex + 1);
                // 滚动到当前选中的按钮
                setTimeout(() => {
                  const activeBtn = document.querySelector('.episode-btn.active');
                  if(activeBtn) activeBtn.scrollIntoView({ behavior: 'smooth', block: 'nearest' });
                }, 100);
            }
      }

      /**
         * 切换排序(正序/倒序)
         */
      function toggleOrder() {
            isReversed = !isReversed;
            const sortIcon = document.getElementById('sort-icon');
            const sortText = document.getElementById('sort-text');
            
            if (isReversed) {
                displayedData = [...videoData].reverse();
                sortIcon.className = "fas fa-sort-amount-up";
                sortText.innerText = "正序";
            } else {
                displayedData = [...videoData];
                sortIcon.className = "fas fa-sort-amount-down";
                sortText.innerText = "倒序";
            }
            renderEpisodes();
      }

      /**
         * 重试加载
         */
      function retryLoad() {
            loadEpisode(currentEpisodeIndex);
      }

      /**
         * UI 辅助函数
         */
      function showLoading(show) {
            loadingIndicator.classList.toggle('hidden', !show);
      }

      function showError() {
            errorOverlay.classList.remove('hidden');
            showLoading(false);
      }

      function hideError() {
            errorOverlay.classList.add('hidden');
      }

      function formatTime(seconds) {
            if (isNaN(seconds)) return "00:00";
            const m = Math.floor(seconds / 60);
            const s = Math.floor(seconds % 60);
            return `${m.toString().padStart(2, '0')}:${s.toString().padStart(2, '0')}`;
      }

      // 启动
      document.addEventListener('DOMContentLoaded', initPlayer);

    </script>
</body>
</html>
页: [1]
查看完整版本: [外交风云][全集在线观看]