在不同域上显示 silverlight 视频播放器的荒谬问题

发布于 2024-08-17 08:35:42 字数 958 浏览 1 评论 0 原文

我在显示 不同 域名

它们都在 IIS 的绑定中,都被重定向到我的私人计算机/服务器,并且都将 silverlight 插件加载到浏览器中。

第一个域显示电影和 silverlight 的内容。 第二个没有。

第一个域不包含 IDN 导致的 URL 重写。第二个是这样的。然而,这显然不应该造成问题。非常感谢帮助解决这个问题。

我对这个问题的看法是,Expression Encoder 的视频模板默认存在错误,或者 silverlight 存在错误......您觉得怎么样?

编辑:silverlight 不仅会在 IDN 域上崩溃,还会导致堆栈溢出。那么好吧! ASCII 等效项是 xn--framtidenshlsa-gib.se。

另外,我可能已经找到了 silverlight 呕吐的原因:

备注

您可以组合这些选项中的任何一个 配置通用 URI 解析器 将选项作为参数传递给 这 GenericUriParser..::.GenericUriParser(GenericUriParserOptions) 构造函数。

现有的 System..::.Uri 类 Silverlight 目前不提供 支持国际资源 标识符 (IRI) 或国际化 域名 (IDN) 解析应用于 域名。

Silverlight 应用程序无法派生 来自 Uri 类的新类。

有关 IRI 支持的更多信息, 请参阅备注部分 System..::.Uri 类。

I'm having a problem displaying two silverlight movies from different domains.

They are both in the bindings of IIS, both are redirected to my private computer/server and both are loading a silverlight plugin into the browser.

The first domain displays the movies and the contents of the silverlight.
The second one doesn't.

The first domain doesn't contain the rewrite of urls that IDN causes. The second one does. However, this should obviously not pose a problem. Help to fix this is very appreciated.

My take at the problem is that Expression Encoder's video template has a bug in it by default or silverlight does... What do you think?

Edit: Not only does silverlight barf on IDN domains, but so does stack overflow. FINE THEN! The ASCII equivalent is xn--framtidenshlsa-gib.se.

Also, I might have found the reason for silverlight to barf:

Remarks

You can combine any of these options
to configure a generic URI parser by
passing the options as a parameter to
the
GenericUriParser..::.GenericUriParser(GenericUriParserOptions)
constructor.

The existing System..::.Uri class in
Silverlight does not currently provide
support for International Resource
Identifier (IRI) or Internationalized
Domain Name (IDN) parsing applied to
the domain name.

Silverlight applications cannot derive
new classes from the Uri class.

For more information on IRI support,
see the Remarks section for the
System..::.Uri class.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

七分※倦醒 2024-08-24 08:35:42

(v.3.0)

现有的 System..::.Uri 类
Silverlight 目前不提供
支持国际资源
标识符 (IRI) 或国际化
域名 (IDN) 解析应用于
域名

(v.3.0)

The existing System..::.Uri class in
Silverlight does not currently provide
support for International Resource
Identifier (IRI) or Internationalized
Domain Name (IDN) parsing applied to
the domain name

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文