我希望能够以编程方式编辑已保存的视频文件的元数据.有人能指出我正确的方向吗?MediaSession和MediaMetadata类是否可以使用?
我正在建立一个rails应用程序,我无法让Facebook Share按钮在Chrome或Firefox中显示.它在IE和Safari中显示得很好.Like和Login按钮适用于所有浏览器.我在网上搜索过,但找不到任何有用的东西.
在我的每一页上
<!-- Facebook SDK -->
<div id="fb-root"></div>
<script>
window.onload = function()
{
// Additional JS functions here
window.fbAsyncInit = function() {
FB.init({
appId : 'XXXXXXXXXXXXXXX', // App ID
channelUrl : '//localhost:3000/channel.html', // Channel File
status : true, // check login status
cookie : true, // enable cookies to allow the server to access the session
xfbml : true // parse XFBML
});
(function(d){
var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];
if (d.getElementById(id)) {return;}
js = d.createElement('script'); js.id …Run Code Online (Sandbox Code Playgroud)