{
  "//": "Voderix Player 配置模板 - 完全对齐 VTurb 配置结构",
  "//_note": "所有功能配置在顶层，不在 features 嵌套里。启用字段统一用 active",

  "id": "player-123",
  "//_id": "播放器唯一标识（必填）",

  "oid": "voderix",
  "//_oid": "账户/组织 ID（必填）",

  "assetPlayerId": "player-123",
  "//_assetPlayerId": "资产播放器 ID（通常和 id 相同）",

  "embedVersion": "1.0.1",
  "//_embedVersion": "嵌入版本号",

  "playerVersion": "v1",
  "//_playerVersion": "SDK 版本号（必填，player-template.js 读取此字段加载对应的 SDK IIFE）",

  "video": {
    "//_desc": "视频源配置（必填）",
    "id": "player-123",
    "src": "https://example.com/video.m3u8",
    "//_src": "视频 URL，支持 HLS m3u8 或 MP4",
    "cover": "",
    "poster": "",
    "//_poster": "封面图 URL（可选）",
    "width": 1920,
    "height": 1080,
    "aspectRatio": 0.5625,
    "//_aspectRatio": "视频宽高比（height/width），用于计算播放器高度",
    "startQuality": "auto",
    "drm": false
  },

  "playerInit": {
    "//_desc": "播放器初始化配置",
    "aspectRatio": 56.25,
    "//_aspectRatio": "播放器宽高比百分比（用于 padding-top 技巧，56.25 = 16:9）",
    "thumbnailKey": "",
    "//_thumbnailKey": "缩略图 key（可选，用于生成缩略图 URL）",
    "verticalVideo": false,
    "//_verticalVideo": "是否竖屏视频（移动端会限制宽度）",
    "customId": "player-123"
  },

  "autoplay": true,
  "//_autoplay": "是否自动播放。启用时先尝试有声播放，被浏览器拦截后降级为静音播放并显示提示",

  "muted": true,
  "//_muted": "兼容字段。非自动播放场景作为初始静音状态；自动播放流程中不改变\"先尝试有声\"策略",

  "pitchTime": 30,
  "//_pitchTime": "营销钩子时间（秒）- 在这个时间点前显示营销元素",

  "preload": "image",
  "//_preload": "预加载策略：image | auto | none",

  "secure": false,
  "//_secure": "是否启用安全模式",

  "language": "en",
  "//_language": "语言代码",

  "style": {
    "//_desc": "样式配置",
    "background": "#E77E11",
    "//_background": "主背景色",
    "foreground": "#FFFFFF",
    "//_foreground": "前景色（文字、图标）",
    "borderRadius": 0,
    "//_borderRadius": "播放器圆角（像素）",
    "bigPlay": false,
    "//_bigPlay": "是否显示大播放按钮（中央）",
    "smallPlay": true,
    "//_smallPlay": "是否显示小播放按钮（控制栏）",
    "progressBar": false,
    "volume": false,
    "fullscreen": false,
    "videoTime": false,
    "speed": false,
    "rewind": false,
    "forward": false,
    "captions": false,
    "linearGradient": {
      "active": false,
      "angle": 90,
      "primaryColor": "#ffffff",
      "primaryStop": 0,
      "secondaryColor": "#5c68a2",
      "secondaryStop": 100
    }
  },

  "fakeBar": {
    "active": true,
    "//_desc": "假进度条（营销工具，模拟视频进度加速用户观看）",
    "alpha": 2,
    "color": "#674EA7",
    "//_color": "进度条颜色",
    "height": 10,
    "//_height": "进度条高度（像素）",
    "inheritBaseColor": false
  },

  "resume": {
    "active": true,
    "//_desc": "继续观看功能（用户返回时提示从上次位置继续）",
    "backgroundColor": "#0a1768",
    "foregroundColor": "#FFFFFF",
    "model": "default",
    "play": "Continue watching?",
    "//_play": "确认按钮文字",
    "replay": "Start from beginning?",
    "//_replay": "取消按钮文字",
    "title": "You have already started watching this video",
    "//_title": "弹窗标题",
    "disablePause": false
  },

  "smartAutoPlay": {
    "active": true,
    "//_desc": "智能自动播放（浏览器拦截 autoplay 时，监听用户交互后自动播放）",
    "//_note": "注意字段名是 smartAutoPlay（大写 P），和 VTurb 一致",
    "backgroundProbe": {
      "enabled": true,
      "maxAttempts": 10,
      "probeInterval": 1000,
      "probeTimeout": 2000,
      "triggerEvents": [
        "click",
        "keydown",
        "mousedown",
        "pointerdown",
        "pointerup"
      ],
      "mobileTriggerEvents": ["click", "touchend", "pointerup"]
    },
    "items": []
  },

  "playback": {
    "active": false,
    "smartPause": false,
    "disablePause": false,
    "scrollToActionIn": 0,
    "actionAfterFinish": "none"
  },

  "callActions": { "active": false, "version": 1, "items": [] },
  "//_callActions": "电话行动按钮",

  "headlines": { "active": false, "items": [] },
  "//_headlines": "标题元素",

  "minihooks": { "active": false, "items": [] },
  "//_minihooks": "迷你钩子（注意字段名是小写 minihooks）",

  "thumbsniper": { "active": false, "items": [] },
  "//_thumbsniper": "缩略图狙击手",

  "pixels": { "active": false, "items": [] },
  "//_pixels": "像素追踪",

  "turbo": { "active": false, "speed": 1, "type": "single" },
  "//_turbo": "加速播放",

  "subtitles": { "active": false, "items": [], "show": false },
  "//_subtitles": "字幕",

  "immersiveMode": {
    "active": false,
    "desktop": false,
    "mobile": false,
    "expandOnPlay": false,
    "minimizeOnPause": false,
    "disableScrolling": false
  },
  "//_immersiveMode": "沉浸式模式（聚焦全屏）",

  "conversion": ["sub1", "unique_aff_sub1"],
  "//_conversion": "转化追踪参数"
}
