影片学习服务

  • 学生被老师指定观看片

    wasAssignedVideo(actor, objectID, duration, instructor, authority, revision);

  • 学生观看影片片段

    watchedVideoClips(actor, objectID, duration, instructor, start, end, authority, revision);

  • 学生跳过影片片段

    skippedVideoClips(actor, objectID, duration, instructor, start, end, authority, revision);

  • 学生在影片播放的某个时间点做笔记

    tookVideoNotes(actor, objectID, duration, instructor, reDuration, reResponse, time, authority, revision);

  • 学生回答嵌入在影片中的题目

    answeredVideoQuestions( actor,objectID, interactionType, instructor, reDuration, reResponse, reSuccess, parentID, time, authority, revision);

  • 学生阅读嵌入在影片中的题目的补充资讯或提示

    readVideoHints( actor, objectID, interactionType, instructor, hint, parentID, authority, revision);

支援版本:1.x.x 以上版本。

函式说明

wasAssignedVideo()

  • 作用:学生被老师指定观看片
  • 参数:
名称 型态 说明 必要性
actor Agent Object 被指定观看影片的人 必要
objectID URL 影片的连结 必要
duration ISO 8601 String 影片的长度 必要
instructor Agent Object 教师 必要
authority Agent Object 教师 必要
revision String 该服务的版本号 推荐
Example
var actor = visca.setActorByMbox("Crystal","crystal@visca.com");
var objectID = "https://www.youtube.com/watch?v=sQcwRGTW5mw";
var duration = "PT12M47S";
var instructor = visca.setInstructorByMbox("Teacher","teacher@visca.com");
var authority = visca.setAuthorityByMbox("Teacher","teacher@visca.com");
var revision = "visca_160902a";

visca.wasAssignedVideo( actor, objectID, duration, instructor, authority, revision);

watchedVideoClips()

  • 作用:学生观看影片片段
  • 参数:
名称 型态 说明 必要性
actor Agent Object 观看影片的人 必要
objectID URL 影片的连结 必要
duration ISO 8601 String 影片的长度 必要
instructor Agent Object 教师 推荐
start ISO 8601 String 开始观看影片的影片时间点 必要
end ISO 8601 String 结束观看影片的影片时间点 必要
authority Agent Object 学生 推荐
revision String 该服务的版本号 推荐
Example
var actor = visca.setActorByMbox("Crystal","crystal@visca.com");
var objectID = "https://www.youtube.com/watch?v=sQcwRGTW5mw";
var duration = "PT12M47S";
var instructor = visca.setInstructorByMbox("Teacher","teacher@visca.com");
var start = "PT5S";
var end = "PT2M37S";
var authority = visca.setAuthorityByMbox("Crystal","crystal@visca.com");
var revision = "visca_160902a";

visca.watchedVideoClips( actor, objectID, duration, instructor, start, end, authority, revision);

skippedVideoClips()

  • 作用:学生跳过影片片段
  • 参数:
名称 型态 说明 必要性
actor Agent Object 跳过片段影片的人 必要
objectID URL 影片的连结 必要
duration ISO 8601 String 影片的长度 必要
instructor Agent Object 教师 推荐
start ISO 8601 String 跳过片段影片的开始时间点 必要
end ISO 8601 String 跳过片段影片的结束时间点 必要
authority Agent Object 学生 推荐
revision String 该服务的版本号 推荐
Example
var actor = visca.setActorByMbox("Crystal","crystal@visca.com");
var objectID = "https://www.youtube.com/watch?v=sQcwRGTW5mw";
var duration = "PT12M47S";
var instructor = visca.setInstructorByMbox("Teacher","teacher@visca.com");
var start = "PT0S";
var end = "PT5S";
var authority = visca.setAuthorityByMbox("Crystal","crystal@visca.com");
var revision = "visca_160902a";

visca.skippedVideoClips( actor, objectID, duration, instructor, start, end, authority, revision);

tookVideoNotes()

  • 作用:学生在影片播放的某个时间点做笔记
  • 参数:
名称 型态 说明 必要性
actor Agent Object 在影片中做笔记的人 必要
objectID URL 影片的连结 必要
duration ISO 8601 String 影片的长度 必要
instructor Agent Object 教师 推荐
reDuration ISO 8601 String 在影片中做笔记花费时间 必要
reResponse String 笔记内容 必要
time ISO 8601 String 做笔记时的影片时间点 必要
authority Agent Object 学生 推荐
revision String 该服务的版本号 推荐
Example
var actor = visca.setActorByMbox("Crystal","crystal@visca.com");
var objectID = "https://www.youtube.com/watch?v=sQcwRGTW5mw";
var duration = "PT12M47S";
var instructor = visca.setInstructorByMbox("Teacher","teacher@visca.com");
var reDuration = "PT30S";
var reResponse = "教育很重要";
var time = "PT2M20S";
var authority = visca.setAuthorityByMbox("Crystal","crystal@visca.com");
var revision = "visca_160902a";

visca.tookVideoNotes( actor, objectID, duration, instructor, reDuration, reResponse, time, authority, revision);

answeredVideoQuesions()

  • 作用:学生回答嵌入在影片中的题目
  • 参数:
名称 型态 说明 必要性
actor Agent Object 回答问题的人 必要
objectID URL 问题的连结 必要
interactionType String 问题类型,参考 Interaction Activities 必要
instructor Agent Object 教师 推荐
reDuration ISO 8601 String 答题花费时间 必要
reResponse String 回答内容 必要
reSuccess Boolean 答对与否 必要
parentID URL 母活动影片连结 必要
time ISO 8601 String 问题所在的影片时间点 必要
authority Agent Object 学生 推荐
revision String 该服务的版本号 推荐
Example
var actor = visca.setActorByMbox("Crystal","crystal@visca.com");
var objectID = "http://visca.com/question/id/1";
var interactionType = "fill-in";
var instructor = visca.setInstructorByMbox("Teacher","teacher@visca.com");
var reDuration = "PT20S";
var reResponse = "2[,]6";
var reSuccess = false;
var parentID = "https://www.youtube.com/watch?v=sQcwRGTW5mw";
var time = "PT1M";
var authority = visca.setAuthorityByMbox("Crystal","crystal@visca.com");
var revision = "visca_160902a";

visca.answeredVideoQuestions( actor, objectID, interactionType, instructor, reDuration, reResponse, reSuccess, parentID, time, authority, revision);

readVideoHints()

  • 作用:学生阅读嵌入在影片中的题目的补充资讯或提示
  • 参数:
名称 型态 说明 必要性
actor Agent Object 阅读问题提示的人 必要
objectID URL 问题的连结 必要
interactionType String 问题类型,参考 Interaction Activities 必要
instructor Agent Object 教师 推荐
hint String/Activity Object/URL Hint or feedback revealed 必要
parentID URL 题目所属的母活动影片连结 必要
authority Agent Object 学生 推荐
revision String 该服务的版本号 推荐
Example
var actor = visca.setActorByMbox("Crystal","crystal@visca.com");
var objectID = "http://visca.com/question/id/2";
var interactionType = "choice";
var instructor = visca.setInstructorByMbox("Teacher","teacher@visca.com");
var hint = "Your hint!";
var parentID = "https://www.youtube.com/watch?v=sQcwRGTW5mw";
var authority = visca.setAuthorityByMbox("Crystal","crystal@visca.com");
var revision = "visca_160902a";

visca.readVideoHints( actor, objectID, interactionType, instructor, hint, parentID, authority, revision);

results matching ""

    No results matching ""